Commit Graph

23 Commits

Author SHA1 Message Date
satyajit.happy
070c46ba64 chore: fix react and react-native versions 2019-10-04 14:36:49 +02:00
satyajit.happy
832ed882bc refactor: use react-native-safe-area-context 2019-10-03 21:31:09 +02:00
satyajit.happy
a8851b730d chore: upgrade deps 2019-10-03 17:35:24 +02:00
satyajit.happy
1345a8fec6 chore: upgrade eslint config 2019-09-28 11:58:21 +02:00
satyajit.happy
849d952703 feat: make deep link handling more flexible
This adds ability to specify a custom config to control how to convert between state and path.

Example:

```js
{
  Chat: {
    path: 'chat/:author/:id',
    parse: { id: Number }
  }
}
```

The above config can parse a path matching the provided pattern: `chat/jane/42` to a valid state:

```js
{
  routes: [
    {
      name: 'Chat',
      params: { author: 'jane', id: 42 },
    },
  ],
}
```

This makes it much easier to control the parsing without having to specify a custom function.
2019-09-16 13:20:19 +02:00
Brent Vatne
d16c20cd39 feat: make example run as bare react-native project as well (#85) 2019-09-08 18:10:44 +02:00
satyajit.happy
1c2e5de07a chore: configure publishing packages 2019-08-21 18:12:43 +05:30
satyajit.happy
6b9af77fab chore: configure lerna with bob 2019-08-21 14:27:07 +05:30
satyajit.happy
f0b80ce0f6 feat: implement various navigators 2019-08-19 01:07:48 +05:30
satyajit.happy
7f5f3ddb6e chore: use lowercase route names 2019-08-18 12:03:36 +05:30
Satyajit Sahoo
2b59f7e482 feat: add a useIsFocused hook to get focus state (#52) 2019-08-13 21:11:39 +01:00
satyajit.happy
f3b6d1f18d feat: add integration for paper's bottom navigation 2019-08-08 11:21:01 +02:00
osdnk
d09f93614c docs: add basic example app 2019-08-07 21:34:48 +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 Sahoo
dcf57c095c feat: integrate reanimated based stack (#42) 2019-08-06 11:22:45 +01:00
Satyajit Sahoo
e0bee10e6b feat: add a simple stack and material tabs integration (#39) 2019-08-03 20:05:10 +02:00
Satyajit Sahoo
ce7d163073 chore: setup monorepo with yarn workspaces (#38) 2019-08-01 23:40:57 +01:00
dependabot[bot]
a64f402ded chore(deps): bump lodash from 4.17.10 to 4.17.11 (#17) 2019-07-20 19:54:43 +01:00
satyajit.happy
0ff3de1266 refactor: use a class component for the container
With the function component. we have issues with our getState function which doesn't always return latest state.
2019-07-16 12:28:15 +02:00
satyajit.happy
2e08df9a1d feat: add an onStateChange prop to NavigationContainer 2019-06-13 14:21:54 +02:00
satyajit.happy
fc1a4adc74 chore: initial POC 2019-06-09 19:37:23 +02:00
satyajit.happy
09e1edf510 chore: configure some stuff 2019-06-09 16:55:47 +02:00
Satyajit Sahoo
32139afa3e Initial commit 2019-06-09 14:45:27 +00:00