Silind-Software / direflow

🧩 Use the best of two worlds. Create fast, performant, native Web Components using React.
https://direflow.io
MIT License
501 stars 77 forks source link

Using material-ui plugin causes error #93

Closed SimonHoiberg closed 4 years ago

SimonHoiberg commented 4 years ago

Describe the bug
Using Material UI with the material-ui plugin causes the following error: Warning: [JSS] Insertion point is not in the DOM

This issue occurs when new Material UI components are dynamically added to the DOM during rerender.

To reproduce
Steps to reproduce the behavior:

  1. Create new Direflow Setup
  2. Install material UI and add the plugin. See description
  3. Add a Material UI component as a part of a later render/rerender. (E.g. from an updated state).
  4. See above error

Expected behavior
Material UI components should render correctly regarding weather being part of initial render or rerendered at a later point in the application lifecycle.

nicocunin commented 4 years ago

I'll work on that issue, could you assign it to me pls?

SimonHoiberg commented 4 years ago

Perfect - I have assigned you @nicocunin