Timeline for ReactDom render multiple elements spfx
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 13, 2020 at 13:33 | comment | added | willman |
Then you need import App into your ` MultiScreenWebPart` class and change the render method of ` MultiScreenWebPart` to load app instead of reactgetitems .
|
|
Feb 13, 2020 at 13:24 | comment | added | ssspfx | Thanks @willman I am not trying to import Header into ReactGetitems, I am trying to load App through ReactDom.render(React.createElement(App), this.domElement); which renders the header and other routes work fine.<br> If I wanted to load context, and also have the routes working that is when I am having issue. | |
Feb 12, 2020 at 21:43 | history | answered | willman | CC BY-SA 4.0 |