Too Long; Didn't Read
Hackernoon has been nominated for the #[noonies2022/internet-heroes/2022-contributor-of-the-year-learning award. To celebrate his nomination, I decided to write a short article explaining my findings. Today I learned something important about the react hooks, and to celebrate my nomination I wrote this article. The goal was to create a data layer to sync up the data of the server with the client state. The data layer is read-only for the consumers, and the data mutation is limited to the first element in the dom tree that uses hook.