{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":415841295,"defaultBranch":"main","name":"react-freeze","ownerLogin":"software-mansion","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2021-10-11T08:30:05.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/56880679?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1709160448.0","currentOid":""},"activityList":{"items":[{"before":"2e6ced224d72163d1890ce15fe87ebc4a987def9","after":"434bd9f2fb3c95c02c5db8ada376858b5ca3f873","ref":"refs/heads/main","pushedAt":"2024-02-28T22:44:33.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kmagiera","name":"Krzysztof Magiera","path":"/kmagiera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/726445?s=80&v=4"},"commit":{"message":"Bump version to 1.0.4","shortMessageHtmlLink":"Bump version to 1.0.4"}},{"before":"b080a83e94f7d26228f589ff801ef3b5f8e2a4e3","after":"2e6ced224d72163d1890ce15fe87ebc4a987def9","ref":"refs/heads/main","pushedAt":"2024-02-24T20:04:46.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"kmagiera","name":"Krzysztof Magiera","path":"/kmagiera","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/726445?s=80&v=4"},"commit":{"message":"Use a single global infinite promise (#34)\n\nIt's not super clear why the code is written this way, but I assume it's due to not being familiar with the pattern. If you want to wait until the `freeze` prop changes, it's enough to throw a Promise that never resolves.\r\n\r\nThis fixes an issue that would occur on initial mount with `createRoot` and/or Fabric. The issue is that React throws away uncommitted trees if they suspend during mount, and this includes throwing away `useRef`. So stashing Promises in `useRef` is wrong. Having one at the top level is both safe and simpler.","shortMessageHtmlLink":"Use a single global infinite promise (#34)"}},{"before":"e43d1b204244c9a5e6820977c279d319f257f3a3","after":null,"ref":"refs/heads/aleqsio-enable-sponsor-button","pushedAt":"2023-09-13T15:15:21.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"aleqsio","name":null,"path":"/aleqsio","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5597580?s=80&v=4"}},{"before":"807a870d9130368d72fa0de97e077640644c5ecc","after":"b080a83e94f7d26228f589ff801ef3b5f8e2a4e3","ref":"refs/heads/main","pushedAt":"2023-09-13T15:15:11.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"aleqsio","name":null,"path":"/aleqsio","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5597580?s=80&v=4"},"commit":{"message":"Create FUNDING.yml (#33)","shortMessageHtmlLink":"Create FUNDING.yml (#33)"}},{"before":null,"after":"e43d1b204244c9a5e6820977c279d319f257f3a3","ref":"refs/heads/aleqsio-enable-sponsor-button","pushedAt":"2023-09-13T10:40:56.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"aleqsio","name":null,"path":"/aleqsio","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5597580?s=80&v=4"},"commit":{"message":"Create FUNDING.yml","shortMessageHtmlLink":"Create FUNDING.yml"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAECCQ5_QA","startCursor":null,"endCursor":null}},"title":"Activity ยท software-mansion/react-freeze"}