Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

2017.10.10 Dynamic HTML and react mdl won't work together

Endre Bock edited this page Oct 10, 2017 · 2 revisions

Dynamic HTML and react-mdl won't work together

I tried to use react-mdl together with dynmaic loaded HTML and browser side combination. Of course for that case wasn't react-mdl created.

So I switched back to MDL directly and wrote a own MDLElement-Component. That component I made very primitive. After it was mounted I downgrade the whole document and upgrade it again. In this way works the dynamic loaded HTML perfect.
Now is it possible to load first the layout and as second the menu. But the Component Handler of MDL need in moment of upgrading the complete frame of the layout and the menu together to work correctly.