hot-loader / react-dom

🔥 version of React-DOM
110 stars 11 forks source link

Version 16.8.2 #4

Closed ntucker closed 5 years ago

ntucker commented 5 years ago

This is really annoying that this library is always behind important fixes.

theKashey commented 5 years ago

That's easy to solve:

theKashey commented 5 years ago

Released (that wasn't so easy)

ntucker commented 5 years ago

Hey, I'd love to contribute if I can but I don't think I understand this process. If it's documented somewhere and I missed it could you please point me to it?

Also if this is just webpack, do I need to use this if I am using webpack and use the plugin? I was under the impression that the mechanism for using webpack was simply setting up an alias to point to this repository.

theKashey commented 5 years ago

There is a webpack-loader in React-Hot-Loader, which could do some babel-plugin work, and injects some patches to the ReactDOM. This is just an already patched ReactDOM - https://github.com/hot-loader/react-dom/blob/master/patch/build.js#L23 for the non-webpack devs or visa verca.

PS: There is no problem to release this package as soon as new React version got released, but I had to change the patch to support hooks, and that took time.

PPS: There is no "process". Just jump in if you want.