Lots of projects are being discontinued in favour of Create React App. ie:
- https://github.com/davezuko/react-redux-starter-kit (~10K ★'s)
- 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-ts
If you clone this repo you just need to do
yarn install
or
npm install
This 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
- connect ToDo to Azure functions (and possibly even BabylonJS).
View result: demo site on gh-pages