Closed
Description
Hi,
I am fairly new to js development and these questions might be trivial. I am trying to build a React-based jupyter extension.
However, the standard notebook extension tutorials follow the AMD module syntax and I can't use my react components since they are written in ES6 format. I believe I can follow the webpack scripts used in this cookie-cutter for converting my react app into the required AMD format.
1.) Do you think this is a good idea and whether it will work? It would be great if you can suggest changes to this approach or if you know of any other approach.
2.) extension.js & index.js seem to be written as commonjs. Will the webpack scripts work out of box in for es6 react components?