We are running a setup where React components that are written in CommonJS/ES5 on the backend need to be available on the front-end also for React rendering on both server and client.
I am trying to figure out how to transpile the React components from JSX to JS as well…
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Possibly try a "transpile to AMD" strategy?
Transpiling CommonJS/ES6 modules to AMD
We are running a setup where React components that are written in CommonJS/ES5 on the backend need to be available on the front-end also for React rendering on both server and client.
I am trying to figure out how to transpile the React components from JSX to JS as well…