Commit Graph

35 Commits

Author SHA1 Message Date
satyajit.happy
935c588000 refactor: rename BaseActions tCommonActions 2019-08-27 08:45:37 +02:00
satyajit.happy
9e1104c31f feat: add hook to scroll to top on tab press 2019-08-24 12:14:49 +05:30
Michal Osadnik
d26b77f9c9 feat: add native container 2019-08-24 06:06:05 +05:30
satyajit.happy
1a8281d37d refactor: change order of type parameters 2019-08-22 11:37:17 +05:30
satyajit.happy
b0a0857b0a refactor: typecheck events in navigation helpers 2019-08-22 11:33:15 +05:30
Michał Osadnik
f7ff0c1cf0 feat: add dangerouslyGetState (#63) 2019-08-21 13:00:12 +01:00
Michał Osadnik
c0045d82b3 feat: add dangerouslyGetParent (#62) 2019-08-21 12:33:29 +01:00
satyajit.happy
4128654324 chore: navigation-ex -> react-navigation 2019-08-21 16:09:10 +05:30
satyajit.happy
6b9af77fab chore: configure lerna with bob 2019-08-21 14:27:07 +05:30
satyajit.happy
797b02bd8e refactor: check for stale == false to determine if state is rehydrated 2019-08-19 17:02:03 +05:30
satyajit.happy
35987ae369 feat: add hook for deep link support 2019-08-19 15:05:00 +05:30
satyajit.happy
dbe2b9159a feat: add helpers to convert between url and state 2019-08-18 00:12:23 +05:30
satyajit.happy
8ed54dace4 fix: handle partial initial state better when rehydrating 2019-08-18 00:12:23 +05:30
satyajit.happy
ca985bb96a feat: add integration with redux devtools extension
Currently supports:
- Tracking actions and navigation state
- Time travel for navigation state

It doesn't do anything in production
2019-08-17 22:25:06 +05:30
Michał Osadnik
b7735af7fc feat: add native container with back button integration (#48) 2019-08-14 19:34:21 +05:30
Satyajit Sahoo
4a3db4e6f4 refactor: simpler way to check canGoBack (#54) 2019-08-14 15:01:41 +01:00
Michał Osadnik
82b771aa57 refactor: simplify logic for dispatching to focused navigator (#53) 2019-08-14 18:39:23 +05:30
Satyajit Sahoo
2b59f7e482 feat: add a useIsFocused hook to get focus state (#52) 2019-08-13 21:11:39 +01:00
Satyajit Sahoo
2b8f2edfd1 fix: implement canGoBack for tab router (#51) 2019-08-13 21:10:04 +01:00
satyajit.happy
81348959ee fix: use correct dispatch in methods in screen's navigation prop 2019-08-12 06:11:10 +05:30
satyajit.happy
9625689595 docs: add comments to better describe the code 2019-08-11 23:14:30 +05:30
satyajit.happy
d00d7d4c1e test: add tests for BaseRouter 2019-08-11 01:48:54 +05:30
satyajit.happy
81e795dea8 refactor: change signature of navigate when navigating to a key
This signature matches what React Navigation has currently.
2019-08-11 01:48:31 +05:30
satyajit.happy
bce529586b refactor: don't respect the key property in new state
We now have a target property in the action to specify the target navigator
2019-08-11 01:05:17 +05:30
satyajit.happy
c865b34cbb refactor: remove key argument from setParams
We now have a source property in the action which does the same as what the key argument did.
2019-08-11 00:52:19 +05:30
Michał Osadnik
e9da86e42f feat: add canGoBack (#50) 2019-08-09 14:32:31 +01:00
Satyajit Sahoo
217f15d925 feat: add a prop to specify options for all screens (#47)
* feat: add material top tab integration

* feat: add a prop to specify options for all screens
2019-08-07 21:24:12 +01:00
satyajit.happy
7e3a2c8629 fix: properly infer route type in screen elements 2019-08-07 15:23:48 +02:00
satyajit.happy
e1d7333f32 fix: don't apply action to an unrelated router 2019-08-07 11:45:22 +02:00
satyajit.happy
adc2fe4ef3 fix: throw when duplicate screens are defined 2019-08-06 18:09:24 +02:00
satyajit.happy
71f4ef1a92 refactor: standardize event argument 2019-08-06 17:51:06 +02:00
satyajit.happy
747ce66927 feat: add a target key to actions and various fixes 2019-08-06 16:19:34 +02:00
Satyajit Sahoo
dcf57c095c feat: integrate reanimated based stack (#42) 2019-08-06 11:22:45 +01:00
Michal Osadnik
89c279fb23 refactor: drop shouldActionPropagateToChildren 2019-08-05 12:57:45 +02:00
Satyajit Sahoo
ce7d163073 chore: setup monorepo with yarn workspaces (#38) 2019-08-01 23:40:57 +01:00