{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":533829278,"defaultBranch":"main","name":"react","ownerLogin":"mofeiZ","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2022-09-07T15:36:07.000Z","ownerAvatar":"https://github.com/avatars/u/34200447?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1726534810.0","currentOid":""},"activityList":{"items":[{"before":null,"after":"a33da93a0b28e33378ee5279476bfc7a74ab8f42","ref":"refs/heads/wip","pushedAt":"2024-09-17T01:00:10.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"mofeiZ","name":null,"path":"/mofeiZ","primaryAvatarUrl":"https://github.com/avatars/u/34200447?s=80&v=4"},"commit":{"message":"[ez] Rewrite optional chaining and nullish coalescing syntax\n\nRewrite `containerInfo?.ownerDocument?.defaultView ?? window` to instead use a ternary.\n\nThis changes the compilation output (see [bundle changes from #30951]).\n```js\n// compilation of containerInfo?.ownerDocument?.defaultView ?? window\nvar $jscomp$optchain$tmpm1756096108$1, $jscomp$nullish$tmp0;\ncontainerInfo =\n null !=\n ($jscomp$nullish$tmp0 =\n null == containerInfo\n ? void 0\n : null ==\n ($jscomp$optchain$tmpm1756096108$1 = containerInfo.ownerDocument)\n ? void 0\n : $jscomp$optchain$tmpm1756096108$1.defaultView)\n ? $jscomp$nullish$tmp0\n : window;\n\n// compilation of ternary expression\ncontainerInfo =\n null != containerInfo &&\n null != containerInfo.ownerDocument &&\n null != containerInfo.ownerDocument.defaultView\n ? containerInfo.ownerDocument.defaultView\n : window;\n```\n\nThis also reduces the number of no-op bundle syncs for Meta. Note that Closure compiler's `jscomp$optchain$tmp` identifiers change when we rebuild (likely due to version changes). See [workflow](https://github.com/facebook/react/actions/runs/10891164281/job/30221518374) for a PR that was synced despite making no changes to the runtime.","shortMessageHtmlLink":"[ez] Rewrite optional chaining and nullish coalescing syntax"}},{"before":null,"after":"4964c0ab8b7acf62d6ba5edfd99f4875c7ec7724","ref":"refs/heads/fix-bailout-lint-column","pushedAt":"2024-09-16T16:38:12.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"mofeiZ","name":null,"path":"/mofeiZ","primaryAvatarUrl":"https://github.com/avatars/u/34200447?s=80&v=4"},"commit":{"message":"[compiler][eslint] Report bailout diagnostics with correct column #","shortMessageHtmlLink":"[compiler][eslint] Report bailout diagnostics with correct column #"}},{"before":"5cbb215ce783ec52ce61f614b696d0757c568883","after":"fa6701f0f64c9eeca5f3cd252dac5845ad1896fa","ref":"refs/heads/hir-rewrite-propagate-scopedeps","pushedAt":"2024-09-06T00:00:07.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"mofeiZ","name":null,"path":"/mofeiZ","primaryAvatarUrl":"https://github.com/avatars/u/34200447?s=80&v=4"},"commit":{"message":"[compiler][rewrite] PropagateScopeDeps hir rewrite","shortMessageHtmlLink":"[compiler][rewrite] PropagateScopeDeps hir rewrite"}},{"before":"a9dc73cfd4db480b4cadf8624351004fe96f5a12","after":"4f604941569d2e8947ce1460a0b2997e835f37b9","ref":"refs/heads/main","pushedAt":"2024-09-03T21:37:17.000Z","pushType":"push","commitsCount":4222,"pusher":{"login":"mofeiZ","name":null,"path":"/mofeiZ","primaryAvatarUrl":"https://github.com/avatars/u/34200447?s=80&v=4"},"commit":{"message":"[Flight] Ship DEV-only enableServerComponentLogs flag in Stable/Canary (#30847)\n\nTo recap. This only affects DEV and RSC. It patches console on the\r\nserver in DEV (similar to how React DevTools already does and what we\r\ndid for the double logging). Then replays those logs with a `[Server]`\r\nbadge on the client so you don't need a server terminal open.\r\n\r\nThis has been on for over 6 months now in our experimental channel and\r\nwe've had a lot of coverage in Next.js due to various experimental flags\r\nlike taint and ppr.\r\n\r\nIt's non-invasive in that even if something throws we just serialize\r\nthat as an unknown value.\r\n\r\nThe main feedback we've gotten was:\r\n\r\n- The serialization depth wasn't deep enough which I addressed in #30294\r\nand haven't really had any issues since. This could still be an issue or\r\nthe inverse that you serialize too many logs that are also too deep.\r\nThis is not so much an issue with intentional logging and things like\r\naccidental errors don't typically have unbounded arguments (e.g. React\r\nerrors are always string arguments). The ideal would be some way to\r\nretain objects and then load them on-demand but that needs more\r\nplumbing. Which can be later.\r\n- The other was that double logging on the server is annoying if the\r\nsame terminal does both the RSC render and SSR render which was\r\naddressed in #30207. It is now off by default in node/edge-builds of the\r\nclient, on by default in browser builds. With the `replayConsole` option\r\nto either opt-in or out.\r\n\r\nWe've reached a good spot now I think.\r\n\r\nThese are better with `enableOwnerStacks` but that's a separate track\r\nand not needed.\r\n\r\nThe only thing to document here, other than maybe that we're doing it,\r\nis the `replayConsole` option but that's part of the RSC renderers that\r\nthemselves are not documented so nowhere to document it.","shortMessageHtmlLink":"[Flight] Ship DEV-only enableServerComponentLogs flag in Stable/Canary ("}},{"before":null,"after":"5cbb215ce783ec52ce61f614b696d0757c568883","ref":"refs/heads/hir-rewrite-propagate-scopedeps","pushedAt":"2024-09-03T20:14:03.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"mofeiZ","name":null,"path":"/mofeiZ","primaryAvatarUrl":"https://github.com/avatars/u/34200447?s=80&v=4"},"commit":{"message":"wip","shortMessageHtmlLink":"wip"}},{"before":null,"after":"6a1722d1f04af18849e053e6af6bc82f1cdf03c7","ref":"refs/heads/repro-usememocache-infinite-render","pushedAt":"2024-08-29T21:00:07.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"mofeiZ","name":null,"path":"/mofeiZ","primaryAvatarUrl":"https://github.com/avatars/u/34200447?s=80&v=4"},"commit":{"message":"[compiler][runtime] repro: infinite render with useMemoCache + render phase updates","shortMessageHtmlLink":"[compiler][runtime] repro: infinite render with useMemoCache + render…"}},{"before":null,"after":"8965f38e7f82c11dcec2ca6519f4306b8c0bda93","ref":"refs/heads/repro-function-expr-hoisting","pushedAt":"2024-05-23T14:17:56.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"mofeiZ","name":null,"path":"/mofeiZ","primaryAvatarUrl":"https://github.com/avatars/u/34200447?s=80&v=4"},"commit":{"message":"[compiler][repros] Add bug repros for leaked values and hoisting function deps","shortMessageHtmlLink":"[compiler][repros] Add bug repros for leaked values and hoisting func…"}},{"before":null,"after":"8964520357039388b7a71feef1b79d5862d44f44","ref":"refs/heads/dedup-healthcheck-counts","pushedAt":"2024-05-15T23:17:14.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"mofeiZ","name":null,"path":"/mofeiZ","primaryAvatarUrl":"https://github.com/avatars/u/34200447?s=80&v=4"},"commit":{"message":"[Compiler][script] Dedupe error report counts before reporting in healthchecks","shortMessageHtmlLink":"[Compiler][script] Dedupe error report counts before reporting in hea…"}},{"before":null,"after":"b7121906942f35144adab05a9d218ec2750bca49","ref":"refs/heads/enable-use-memo-cache-test-renderer","pushedAt":"2023-11-09T02:08:13.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"mofeiZ","name":null,"path":"/mofeiZ","primaryAvatarUrl":"https://github.com/avatars/u/34200447?s=80&v=4"},"commit":{"message":"[FeatureFlags] Enable useMemoCache for ReactTestRenderer","shortMessageHtmlLink":"[FeatureFlags] Enable useMemoCache for ReactTestRenderer"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0xN1QwMTowMDoxMC4wMDAwMDBazwAAAAS4AWrq","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0xN1QwMTowMDoxMC4wMDAwMDBazwAAAAS4AWrq","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0xMS0wOVQwMjowODoxMy4wMDAwMDBazwAAAAOq4xDn"}},"title":"Activity · mofeiZ/react"}