This is a simple implementation of a React dynamic component renderer. The aim here is to allow progresive rendering of React components onto a static HTML page/site. Usually used to sprinkle React components on top of an existing site.
The functionality has three main properties that need to be passed to the render
method for this to work.
node
- this specifies which node the component should be mounted tocomponent
- the component thats being mountedfeatures
(optional) - determine based on features if this component should be mounted