rmariuzzo / react-new-window

🔲 Pop new windows in React, using `window.open`.

Home Page:https://rmariuzzo.github.io/react-new-window/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

javascript not referenced in the new windows

delta360-developer opened this issue · comments

I have a component using the chart.js (https://github.com/jerairrest/react-chartjs-2) plugin in my component. This component does not work when rendered in the new windows since it requires the javascript references. How can I reference the javascript libraries in the new window?

This along with #69 are related. I will need to investigate how feasible copying js references are the same way we do with css files.

Maybe we could provide something on how react-helmet works.

@rmariuzzo Do you have any solution for that?

@rmariuzzo Do you have any solution for that?

Not yet. I'm checking all issues one by one. I will think on a fix regarding this.

For now, will close this one in favor of: #69