paint-brush
The Boring React State Management Guideby@pajamaGuy
691 reads
691 reads

The Boring React State Management Guide

by Arko11mAugust 20th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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
Arko

Arko

@pajamaGuy

L O A D I N G
. . . comments & more!

About Author

Arko HackerNoon profile picture
Arko@pajamaGuy

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Dygresje
Starbugs