|
|
|
|
|
by claytongulick
315 days ago
|
|
My style with web components solves it really well. Just have each component maintain it's own state. Class setters work great. If you need the component to update, just call render() in the setter. It's super simple, encapsulates logic, and brain-dead simple to debug. You know exactly where to go for everything: the component. I've always felt like react's approach to state management was creating more problems than it solves. |
|