Hello there - I’m part of a small dev team using Yii. We migrated from solely JQuery to mostly React in the last year - focusing on serving data to the app instead of preparing/presenting Yii views.
I’ve found the majority of React components out there are served via NPM packages - I’ve had great difficulty getting these working with Yii. It appears I may need to setup webpack to talk nicely with Yii assets.
We’re using Babel to transpile JSX code to JS files that are part of a Yii asset. Any suggestions on how to prepare NPM packages via Yii to our React app would be most appreciated!