Skip to content

brianzinn/create-react-app-typescript-babylonjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Lots of projects are being discontinued in favour of Create React App. ie:

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:

  1. fix babylonJS scene to use babylonjs-react middleware via saga
  2. add new VR helper
  3. add proper HMR - seems to refresh entire page
  4. connect ToDo to Azure functions (and possibly even BabylonJS).

View result: demo site on gh-pages

About

BabylonJS + TypeScript + Create React App Starter Kit

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •