top | item 35064196

(no title)

WiseWeasel | 3 years ago

You can often use route params or location hash for communicating state sideways if shared context is overkill, with the benefit of making the state bookmarkable or accessible in the history.

discuss

order

CharlieDigital|3 years ago

That's only sustainable for small pieces of state or some mechanism to exchange that small piece of state for a more complete piece of state.

PaulHoule|3 years ago

Right, the problem with React is it has no global answer for application state, instead it provides a toolbox with which it is possible to set up your own state handling but frequently you face structural instability where a small change in your app’s functionality require large architectural changes.

rektide|3 years ago

> or some mechanism to exchange that small piece of state for a more complete piece of state

using links to refer to information is, like, not a totally foreign concept to the web (and certainly granted: in some cases this issue of signaling via url can get quite ugly; but often it's not).