I need to have information from the PowerShell Module to determine what Imports to make in my component.jsx.
It appears that I can only access this.props.myModuleParams after componentDidMount(). But at that time I can’t import additional modules.
Normally you’d just import them all, but I’m actually making imports that contain configuration for other modules so I can’t change the Property as it is used by downstream modules.
Likewise if it was the full module I needed then I could use require(’./script’).
I’m a bit stumped. I want the Financial Chart - Beta module to have multiple chart type options. Without some major work refactoring react-stockcharts I’m thinking it isn’t possible.