Open victorporof opened 7 years ago
@victorporof The project is not abondoned, but I am waiting for the big changes that Fiber will bring in, before moving it to v15. Looks like other custom renderers are also waiting for this change.
Also, I am the only one working on React-worker-dom, but if you guys plan to use it in production, I could use some help on the project, and would love to collaborate.
@axemclion Great to hear the project isn't abandoned. I'll have a closer look through the source.
Discussed this with @joewalker a bit and other potential problems with experimenting with this for a browser frontend stack would be handling ipc communication from the renderer thread to the main thread (don't know if one can import electron's ipcRenderer
in workers), and grabbing data from dom nodes in event emitters in components (for example, handling input.onChange
and getting the new input
element's text contents).
Moving over everything into workers (including all the app state) is probably easy/doable, but looks like we'll need a concrete story for custom message passing / event handling between the worker and renderer.
Are you running into performance problems where we'll need this?
Not at the moment, but since this is a browser tech research project, it's definitely worth investigating.
Let's use
react-worker-dom
: https://github.com/web-perf/react-worker-dom assuming that the project isn't abandoned.