I have browsed through the React guide, and for someone starting a new Cordova/Onsen UI/React project from a clean slate, does the guide assume that the project is setup in any particular way or following certain convention?
I have looked through other React tutorials or quick start, and observe several possible variants.
- Build/packaging system: Some recommend Webpack, others using Browserify and some others using other combinations of preferred tools.
- Project directory/folder structure: some prefer to put their source files in a different directory other than
- JSX Transpiling: Some recommend doing in-browser transpiling of JSX using Babel for development/testing, while others recommend setting up the project to use Node.js transpiling (done within Webpack or Browserify build/bundling process?) for optimal performance in production mode.
It seems to me that there is no standard React app project layout we can assume since many things are configurable to an individual developer’s personal preferences.
It would be good if you can state the assumptions or prerequisites (if any exist) on how the React project is laid out for your guide. Thanks!