{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":563329684,"defaultBranch":"main","name":"react","ownerLogin":"cszo","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2022-11-08T11:47:02.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/25258338?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1667908023.992872","currentOid":""},"activityList":{"items":[{"before":"9644d206e8d92d0e31a9252d78933a48c62eb427","after":"ed3c65caf042f75fe2fdc2a5e568a9624c6175fb","ref":"refs/heads/main","pushedAt":"2024-04-10T00:48:10.000Z","pushType":"push","commitsCount":10,"pusher":{"login":"cszo","name":"chensz","path":"/cszo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25258338?s=80&v=4"},"commit":{"message":"Warn if outdated JSX transform is detected (#28781)\n\nWe want to warn if we detect that an app is using an outdated JSX\r\ntransform. We can't just warn if `createElement` is called because we\r\nstill support `createElement` when it's called manually. We only want to\r\nwarn if `createElement` is output by the compiler.\r\n\r\nThe heuristic is to check for a `__self` prop, which is an optional,\r\ninternal prop that older transforms used to pass to `createElement` for\r\nbetter debugging in development mode.\r\n\r\nIf `__self` is present, we `console.warn` once with advice to upgrade to\r\nthe modern JSX transform. Subsequent elements will not warn.\r\n\r\nThere's a special case we have to account for: when a static \"key\" prop\r\nis defined _after_ a spread, the modern JSX transform outputs\r\n`createElement` instead of `jsx`. (This is because with `jsx`, a spread\r\nkey always takes precedence over a static key, regardless of the order,\r\nwhereas `createElement` respects the order.) To avoid a false positive\r\nwarning, we skip the warning whenever a `key` prop is present.","shortMessageHtmlLink":"Warn if outdated JSX transform is detected (facebook#28781)"}},{"before":"1e3e30dae2bcfbeb0abc686f2a37aec208eedb39","after":"9644d206e8d92d0e31a9252d78933a48c62eb427","ref":"refs/heads/main","pushedAt":"2024-04-09T05:15:09.000Z","pushType":"push","commitsCount":1276,"pusher":{"login":"cszo","name":"chensz","path":"/cszo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25258338?s=80&v=4"},"commit":{"message":"Soften useFormState warning (#28788)\n\nIt's not deprecated, it's really just renamed. Let's make the warning\r\nless scary.","shortMessageHtmlLink":"Soften useFormState warning (facebook#28788)"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNC0xMFQwMDo0ODoxMC4wMDAwMDBazwAAAAQsi8jv","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNC0xMFQwMDo0ODoxMC4wMDAwMDBazwAAAAQsi8jv","endCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNC0wOVQwNToxNTowOS4wMDAwMDBazwAAAAQrnEy9"}},"title":"Activity ยท cszo/react"}