Two custom React hooks
&gt; In the case of modern front end engineering and React especially, you can reduce everything down to two simple concepts...
&gt; Rendering the current state
&gt; Updating the state<p>Another day, another React team coming to the belated realization that hooks are an inelegant solution to problems that have already long been solved. Separate your view layer from your application state. Get all those network calls the hell out of there. Relegate your components to simple stream transformers -- props in, HTML out. If you&#x27;re doing anything other than that, your function components aren&#x27;t really pure functions.<p>It&#x27;s frustrating to watch an entire swath of the industry continually rediscover its own inadequacies year after year...