This PR enables regular DOM elements to be used in place of Virtual Nodes. Such feature can be useful for cases such as the one requested in #45
This practically enables the following:
// The components can return DOM elements
const AdvancedComponent = (props) => {
const elm = document.createElement('div');
FancyEditor.init(elm);
return elm;
};
// Render
R(H(AdvancedComponent), document.body);
This PR enables regular DOM elements to be used in place of Virtual Nodes. Such feature can be useful for cases such as the one requested in #45
This practically enables the following: