I'm playing around with the idea of a web based IDE for building React applications. Basically the user defines and modifies the class
entirely within the browser.
I know I can create a class using React.createClass
but how can I delete it or redefine it when the user makes modifications to the class.
I know Webpack HMR does this but how can I do it entirely in the browser?