|
|
|
|
|
by dugmartin
813 days ago
|
|
I created a useLiveView() hook a couple of years ago for a couple of personal side projects. It was pretty straightforward and let me have bi-directional state. The only big downside is you also need to setup server side React rendering for the initial load if you care about SEO. Maybe I should dig it up and post it in a gist somewhere (I don't want to maintain an open source library for it). |
|