simonbuerger
47fe858d4e
StateUtils: Use Array.prototype.findIndex instead of map => indexOf ( #4106 )
...
* Use Array.prototype.findIndex instead of map => indexOf
Creating a new array and iterating over all the routes is inefficient compared to findIndex, which does not create a new array and exits as soon as it finds a match. Since the indexOf method is used extensively this should provide a minor performance improvement
* reverted yarn.lock edits
2018-05-02 20:01:20 -07:00
Brent Vatne
5fff7ef5c6
Give inactive routes in stack opportunity to handle action ( #4064 )
2018-04-26 00:48:55 +00:00
Brent Vatne
ecfa38bfd2
Remove flow ( #3350 )
...
* Remove flow types from src
* Finish removing Flow
* Clear out flow-typed, some flow mentions in docs, website flow usage, and some other config
2018-01-24 17:52:09 -08:00
Gabriel Bull
77b04f342d
Removed dependency on fbjs ( #1698 )
2017-06-03 12:21:08 -07:00
Adam Miskiewicz
f3a958dca1
Update/Fix Prettier + Eslint config for codebase
...
Run Prettier/Eslint on entire codebase, fix issues
2017-05-14 14:18:09 -07:00
Mike Grabowski
bbe9caff06
Fix eslint issues and turn on prettier by default ( #1195 )
...
* Automatically generate prop-types from Flow
* Remove propTypes usage
* Fix flow
* Modify some eslint settings
* Fix flowtype
* Lint tweaks
* use prop-types pkg
* Run prettier
* Fix flow
* Fix few lint issues
* Make eslint pass
* Run lint on tests
* Fix flow
* Fixes
* Alphabetical
* Trailing comma: ES5 for website compat, also fix config/paths
* Apply eslint --fix only to src now
* Fix missing transitionconfig
* Update TypeDefinition.js
* New stuff
* Unstage website and examples
* reformat code
* Update circle.yml
2017-04-24 17:31:22 +05:30
Adam Miskiewicz
c37ad8a0a9
Initial public release of React Navigation
2017-01-26 11:53:33 -08:00