feat: export the Root app in decap-cms-app, and add a flag to disable rendering #7368
Labels
type: feature
code contributing to the implementation of a feature and/or user facing functionality
It would be awesome if
decap-cms-app
exposed theRoot
component defined indecap-cms-core
, and introduced a flag to disable rendering the app by default.Is your feature request related to a problem? Please describe.
Somewhat. Decap doesn't always play nicely when it is inside of another React rendering context. Instead of using
react-dom
to directly render decap into a DOM node, it would be great to simply expose the component and let the hosting React app handle the rendering.Describe the solution you'd like
Describe alternatives you've considered
With a deeper refactor, it would probably be good to disable the auto-init stuff as well by default, which would give more control to the app.
The final solution could be entirely component based...
The text was updated successfully, but these errors were encountered: