mohebifar/react-unforget

Prevent memoization of new Date and Math.random()

オープン

#31 opened on 2024/03/13

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (4 件のフォーク)github user discovery
enhancementgood first issue

Repository metrics

Stars
 (386 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

Not sure about a possible fix to this, but it appears to be memoizing impure function calls as well like Date.now(), new Date(), and Math.random()

https://github.com/mohebifar/react-unforget/assets/6689267/1bf52333-9f05-4a49-b817-a5ea63022556

コントリビューターガイド