The Absolute State of Management

It is by no means the gravest linguistic crime of the React epoch, 1 but "state management" grates like nails on chalkboard. A Socratic dialogue I keep having about it goes something like this:

me: This UI is far too heavyweight for what it does, have you considered not using React?

them: But how will we do state management without React?

me: What do you mean? are reactive.

them: React manages state in our app.

me: It does? Then what are for?

them: Oh, those manage state.

me:

The libraries that trigger this "Who's on First?" routine include:MobX, which promises "simple, scalable state management."Satchel, apparently, "is characterized by exposing an observable state that makes view updates painless and efficient"Recoil, billed as "a state management library for React"Jotai

添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论