|
|
|
|
|
by danabramov
4352 days ago
|
|
There's another advantage to virtual DOM: you can hot-swap code while developing and have React run its diff algorithm without reloading the page. If your component has no (or little) side-effects, it means you get live reload as you edit for free. This is impossible with Backbone/jQuery soup of a view. See my proof of concept video: https://vimeo.com/100010922 And actually runnable example that you can edit without refresh: https://github.com/gaearon/react-hot-loader I plan to write a blog post explaining how to integrate it into React project soon. |
|
edit: https://github.com/swannodette/om/wiki/Basic-Tutorial