1 min readAug 23, 2020
Now that 16.8+ has the `useMemo()` hook, you can create constant objects within functional components that only change when the data inside changes. This might make a welcome addition to your article, as an alternative to purely constant objects defined outside of the component function.