Simple Boilerplate for using React and Esri's JavaScript API together. It supports IE 9+ and the last two versions of all major browsers and can run in https or http. For data management, it's using Alt.js (a flux library).
This is referring to http://flowtype.org, Facebook's static type checker for javascript.
There is a branch called flowtype that has some boilerplate for getting flowtypes to check props and things in raw src at compile time and not at run time. This is a really useful feature as it can statically check whether or not people are using components and functions correctly before a build is ever deployed for testing.
Things Working:
[x] components are checking other component types
[x] components can see other components types even when they are not in the same file
[x] figure out aliases so flow can easily find other files imported in
[x] utility and helper functions work
Things to look into:
[ ] Help flow understand Alt.js exports so actions and store methods can type check
[x] Learn more about custom declarations and how to correctly use them
[x] Lean more about different options for .flowconfig
This is referring to http://flowtype.org, Facebook's static type checker for javascript.
There is a branch called
flowtype
that has some boilerplate for getting flowtypes to check props and things in raw src at compile time and not at run time. This is a really useful feature as it can statically check whether or not people are using components and functions correctly before a build is ever deployed for testing.Things Working:
Things to look into:
.flowconfig