Lots of projects are being discontinued in favour of Create React App. ie:
- https://github.com/davezuko/react-redux-starter-kit (10K stars)
- https://github.com/rangle/typescript-react-redux-example
So, wanted to create a BabylonJS starter kit with React + Redux (saga) to provide a possible starting point for anybody interested. I wanted this starter to be Typescript, so used react-scripts-ts:
npm install -g create-react-app
create-react-app my-app --scripts-version=react-scripts-tsIf you clone this repo you just need to do
yarn installor
npm installThis project has not been 'ejected', so that decision has not already been made for you!
This project uses babylonjs-react NPM, but not linked to 'redux-saga' yet. Additionally, GUI and Physics Engine have been ES6 imported, which is new in BabylonJS 3.1.0-alpha3.4+ :)
What I intend to add/fix:
- fix babylonJS scene to use babylonjs-react middleware via saga
- add new VR helper
- add proper HMR - seems to refresh entire page
- add gh-pages
- connect ToDo to Azure function and BabylonJS