Commit Graph

2252 Commits

Author SHA1 Message Date
satyajit.happy
6101d7c181 feat: add a JUMP_TO action for switch
Add a JUMP_TO action in switch navigator to handle navigation actions explictly instead of the magical NAVIGATE action.
2019-04-20 13:49:49 +02:00
satyajit.happy
b13b5805a5 chore: add missing dep in example 2019-04-17 21:01:11 +02:00
Brent Vatne
c828cb128c Fix SwitchRouter depending on previous state to be defined when performing navigate 2019-04-16 16:55:06 -07:00
satyajit.happy
a461168493 chore: configure bob and metro 2019-04-17 16:29:20 +02:00
satyajit.happy
85c4ac7608 chore: configure bob 2019-04-17 16:29:20 +02:00
Brent Vatne
141bef365f Release 3.3.1 2019-04-12 15:50:14 -07:00
Brent Vatne
450ac84dea Remove react-lifecycles-compat 2019-04-12 15:49:09 -07:00
Brent Vatne
88329e387e Release 3.3.0 2019-04-10 10:15:30 -07:00
Brent Vatne
443235e719 Fix withNavigationFocus initial event by moving subscriptions to mount 2019-04-02 14:14:20 +02:00
Satyajit Sahoo
9434cfa418 fix: drop custom history logic for isFirstRouteInParent (#52)
As the naming suggests, this checks if route is the first one in parent. So probably doesn't make sense to check history.
2019-04-10 19:14:05 +02:00
Brent Vatne
3a1f1e0df4 Merge pull request #51 from react-navigation/@satya164/can-go-back
feat: add a isFirstRouteInParent method to navigation object
2019-04-10 10:00:35 -07:00
Brent Vatne
47514546cb Merge pull request #49 from matthargett/remove-react-create-context
Remove create-react-context to shrink bundle size impact
2019-03-15 12:10:15 -07:00
Brent Vatne
bd92c55f2d Release 3.2.0 2019-03-13 15:17:32 -07:00
Evan Bacon
7769428269 Update Webpack / Babel config
* Added module path in package.json
* Marked as having no side-effects
* Disable commonjs on build
2019-03-09 01:17:47 -08:00
Brent Vatne
12f719f50b Merge pull request #48 from react-navigation/@satya164/fix-build
chore: use tsc only for decalartions
2019-03-11 10:40:16 -07:00
Matt Hargett
72fc3bae4f Remove react-lifecycles-compat to reduce bundle size impact. - Also bump React, React Native, and babel devDependencies 2019-03-01 16:35:26 -08:00
Brent Vatne
daf37aecff Merge pull request #44 from serhiipalash/master
Set default value “null” for “key” property in RESET action
2019-03-08 12:20:28 -08:00
Brent Vatne
5e5f7142af Merge pull request #36 from slorber/backbehavior-examples
Add switch backbehavior examples
2019-02-20 12:17:53 -08:00
Brent Vatne
aa6e25099d Release 3.1.1 2019-02-08 18:01:35 -08:00
Brent Vatne
2da2310988 Add more tabs to make it easy to play with backBehavior 2019-02-08 18:01:16 -08:00
Pontus Abrahamsson
4f79a705e5 fix: remove console.log (#32) 2019-02-09 14:56:00 +01:00
Brent Vatne
75c968caae Merge pull request #31 from slorber/switch-back-behavior
handle new SwitchRouter history back behaviors
2019-02-08 17:50:06 -08:00
Brent Vatne
f66f23e7e7 Fix silly lint error 2019-02-04 18:02:23 -08:00
Brent Vatne
a6dfe5f0b8 Add a proper development workflow 2019-02-04 17:52:19 -08:00
Brent Vatne
f35c3c2513 Merge pull request #30 from bySabi/master
prevent onRef callback be called twice on withNavigationFocus Components
2019-01-28 13:20:35 -08:00
Brent Vatne
baf5a90dd0 Lock create-react-context to 0.2.2 and release 3.0.2 2018-12-11 11:49:21 -08:00
Brent Vatne
051bc39804 Release 3.0.1 2018-12-03 16:07:03 -08:00
Brent Vatne
78d8548f31 Merge pull request #25 from rimzici/master
Do not clear navigation child from cache while transitioning
2018-12-02 12:55:33 -08:00
Brent Vatne
ddf7dddd96 Merge pull request #24 from bySabi/master
call createReactContext with at explicit non-value
2018-11-30 13:00:25 -08:00
Brent Vatne
9a54742407 Merge pull request #21 from react-navigation/typescript
Add back TypeScript support
2018-11-27 02:29:12 +07:00
Brent Vatne
1c1164c056 Release 3.0.0 2018-11-17 08:32:57 +07:00
Brent Vatne
101c1dc4a5 Merge pull request #20 from react-navigation/fixparams
Param handling of SwitchRouter with child action
2018-11-17 08:23:19 +07:00
Brent Vatne
130830c19f Merge pull request #17 from slorber/navigation-events-bug
Fix NavigationEvents implementation
2018-11-09 09:44:04 -08:00
Brent Vatne
53ac86e7f2 Release 3.0.0-alpha.19 2018-11-05 09:37:49 -08:00
Brent Vatne
794e53fec2 Release 3.0.0-alpha.18 2018-10-30 15:58:25 -07:00
Brent Vatne
2375dd7742 Filter out drawer actions from index changing - temporary - https://github.com/react-navigation/rfcs/issues/66 2018-10-30 15:57:33 -07:00
Eric Vicenti
63383a451c Improve missing navigator prop invariant message 2018-10-31 11:01:04 -07:00
Eric Vicenti
9ae44cdf5d chore: release 3.0.0-alpha.17 2018-10-29 23:11:30 -07:00
Eric Vicenti
b039101470 Fix broken references to context 2018-10-29 23:10:04 -07:00
Eric Vicenti
04c40bb0b2 chore: release 3.0.0-alpha.16 2018-10-29 23:03:11 -07:00
Eric Vicenti
baaaf2d962 export react context directly 2018-10-29 23:02:42 -07:00
Eric Vicenti
3198b3f7e7 chore: release 3.0.0-alpha.15 2018-10-29 19:57:31 -07:00
Eric Vicenti
88597b87fb Export context directly for hook consumption 2018-10-29 19:56:10 -07:00
Eric Vicenti
11c35c8c30 chore: release 3.0.0-alpha.14 2018-10-29 18:59:28 -07:00
Eric Vicenti
a3372561d0 Stack completion action now targets toChildKey 2018-10-29 18:58:33 -07:00
Eric Vicenti
af888dccb3 Better handling of focus/blur events out of order 2018-10-29 18:27:15 -07:00
Eric Vicenti
145100d012 Revert "Merge pull request #8 from horacioh/feature/typescript"
This reverts commit 27ed333c6d09734579d7db2ae1f11e15c283dbdf, reversing
changes made to a4da6ffa471fab2412f54569d2f48fe3a5d14b4f.

# Conflicts:
#	package.json
2018-10-29 18:33:50 -07:00
Eric Vicenti
17e1fb1874 Merge pull request #9 from jaulz/patch-1
fix: avoid stringified "null" and "undefined" values
2018-10-29 13:59:11 -07:00
Horacio Herrera
1501d4cd85 fix: fix optional flag on testRegex (#16)
closes #15
2018-10-26 02:09:29 +02:00
Brent Vatne
546ae506a8 Merge pull request #8 from horacioh/feature/typescript
Fix test --coverage errors related to TS
2018-10-25 13:44:28 -07:00