Michael Landis
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.

--

--

Michael Landis
Michael Landis

Written by Michael Landis

Front-end web developer, React enthusiast, vagabond.

No responses yet