Y
Hacker News
new
|
ask
|
show
|
jobs
by
munawwar
1891 days ago
The simplicity goes away when supporting SSR. You have to depend on multiple stores (one per request) being injected "from the top" (e.g via Context Provider).
This is my take on the problem ->
https://github.com/Munawwar/react-global-states/tree/ssr