The Boring React State Management Guideby@pajamaGuy
686 reads

The Boring React State Management Guide

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

State in reactive programming is data that dictacts the configuration of the application in any moment in time. In order to understand how to better manage state, we need to know how many types of state there can be. I like to classify state in two ways and then choose the technologies that are best suited for managing those kinds of state. The general rule of thumb while managing this sort of state is to see how far the components consuming it are in the component tree. Never put UI state in the cache. This is not be confused by the state that is managed between the server and the database.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - The Boring React State Management Guide
Arko HackerNoon profile picture

@pajamaGuy

Arko

Receive Stories from @pajamaGuy

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa