DEV Community

Discussion on: React newbie having to learn on an AMD project

devwax profile image
Steve Monsen

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…