You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 3, 2025. It is now read-only.
This repo focuses on grouping screens by business conversion tunnels called **canals**. Why did I call it `react-gondola`? Just because I though of this package when I was visiting Venice... and I kind of hope that using this package will feel like navigating in Venice 📸
17
+
This repo focuses on grouping screens by business conversion tunnels called **canals**. Why did I call it `react-nonav`? Just because I though of this package when I was visiting Venice... and I kind of hope that using this package will feel like navigating in Venice 📸
18
18
19
-
**When you use React Gondola**, you define several screens and you have the possibility to control their visibility with YOUR state machine. You define the rules of WHEN some screens should appear; `react-gondola` takes care of the rest.
19
+
**When you use React Gondola**, you define several screens and you have the possibility to control their visibility with YOUR state machine. You define the rules of WHEN some screens should appear; `react-nonav` takes care of the rest.
20
20
21
21
## 👍 TLDR; Use this package if:
22
22
@@ -27,11 +27,11 @@ This repo focuses on grouping screens by business conversion tunnels called **ca
27
27
## 👎 Do not use this repo if:
28
28
29
29
- you want to navigate imperatively.
30
-
- you need to use Native navigation (react-gondola's navigation is powered by JS code only).
30
+
- you need to use Native navigation (react-nonav's navigation is powered by JS code only).
31
31
32
32
## Docs
33
33
34
-
The docs are here: https://react-gondola.netlify.com/
34
+
The docs are here: https://react-nonav.netlify.com/
35
35
Powered by the incredible [docz](https://www.docz.site/).
@@ -16,13 +16,13 @@ React-gondola needs the following dependencies; if you do not have those install
16
16
17
17
Then, follow any post-installation instruction of `react-native-reanimated`. See [`react-native-reanimated` Installation Instructions](https://github.com/kmagiera/react-native-reanimated#installation).
18
18
19
-
Then, install React-Gondola with:
19
+
Then, install React-Nonav with:
20
20
21
-
`yarn add react-gondola`
21
+
`yarn add react-nonav`
22
22
23
23
or
24
24
25
-
`npm i react-gondola`
25
+
`npm i react-nonav`
26
26
27
27
## Basic Usage
28
28
@@ -32,7 +32,7 @@ In order to create a canal, use the `Canal` and `Screen` components. Your screen
32
32
33
33
```ts
34
34
importReactfrom'react';
35
-
import { Canal, Screen } from'react-gondola';
35
+
import { Canal, Screen } from'react-nonav';
36
36
import { FirstName } from'./FirstName';
37
37
import { LastName } from'./LastName';
38
38
@@ -52,7 +52,7 @@ If you want to add full screen page, pass the `isFullScreen` flag prop to your `
52
52
53
53
```ts
54
54
importReactfrom'react';
55
-
import { Canal, Screen } from'react-gondola';
55
+
import { Canal, Screen } from'react-nonav';
56
56
import { FirstName } from'./FirstName';
57
57
import { LastName } from'./LastName';
58
58
@@ -69,7 +69,7 @@ In order to render the full screen page, add the `FullScreenPortal` at the top l
69
69
```ts
70
70
importReact, { Component } from'react';
71
71
import { MyCanal } from'./canals/MyCanal';
72
-
import { FullScreenPortal } from'react-gondola';
72
+
import { FullScreenPortal } from'react-nonav';
73
73
74
74
exportdefaultclassAppextendsComponent {
75
75
render() {
@@ -88,7 +88,7 @@ Back events are also managed in a declarative way. Use the `onBack` callback pro
88
88
89
89
```ts
90
90
importReactfrom'react';
91
-
import { Canal, Screen } from'react-gondola';
91
+
import { Canal, Screen } from'react-nonav';
92
92
import { FirstName } from'./FirstName';
93
93
import { LastName } from'./LastName';
94
94
@@ -123,4 +123,4 @@ import { Warning } from 'components/Warning';
Copy file name to clipboardExpand all lines: docs/Welcome.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,9 @@ React Native declarative and reactive navigation.
9
9
10
10
## Philosophy
11
11
12
-
This repo focuses on grouping screens by business conversion tunnels called **canals**. Why did I call it `react-gondola`? Just because I though of this package when I was visiting Venice... and I kind of hope that using this package will feel like navigating in Venice 📸
12
+
This repo focuses on grouping screens by business conversion tunnels called **canals**. Why did I call it `react-nonav`? Just because I though of this package when I was visiting Venice... and I kind of hope that using this package will feel like navigating in Venice 📸
13
13
14
-
**When you use React Gondola**, you define several screens and you have the possibility to control their visibility with YOUR state machine. You define the rules of WHEN some screens should appear; `react-gondola` takes care of the rest.
14
+
**When you use React Gondola**, you define several screens and you have the possibility to control their visibility with YOUR state machine. You define the rules of WHEN some screens should appear; `react-nonav` takes care of the rest.
15
15
16
16
## When to use this package
17
17
@@ -24,7 +24,7 @@ This repo focuses on grouping screens by business conversion tunnels called **ca
24
24
### 👎 Do not use this repo if:
25
25
26
26
- you want to navigate imperatively.
27
-
- you need to use Native navigation (react-gondola's navigation is powered by JS code only).
27
+
- you need to use Native navigation (react-nonav's navigation is powered by JS code only).
Copy file name to clipboardExpand all lines: docs/guides/Back.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ route: /guides/back
11
11
In order to go back, you need to code two steps.
12
12
13
13
1. Add a `onBack` callback on the `Screen` you are going back from. Make sure this callback affects the visibility (prop `visible`) of the screen you are going back from.
14
-
2. Call `Navigation.instance.back()` (`import { Navigation } from 'react-gondola'`).
14
+
2. Call `Navigation.instance.back()` (`import { Navigation } from 'react-nonav'`).
Copy file name to clipboardExpand all lines: docs/guides/ReactNavigationInteroperability.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,14 +11,14 @@ Yes it can.
11
11
## Good use of both of us 👍
12
12
13
13
1. The user is free to navigate on some top level pages (use `react-navigation`).
14
-
2. The user is forced to move forward/backward when he completes come steps in low level tunnels (use `react-gondola`).
14
+
2. The user is forced to move forward/backward when he completes come steps in low level tunnels (use `react-nonav`).
15
15
16
16
This means that at a certain point in your navigation, you need to control the visibility of your page. That great power comes with great responsability.
17
17
✅ Test your state machine !
18
18
19
19
## How well it works ?
20
20
21
-
**Disclaimer:** interoperability has not been entirely tested. If you encounter any issue, feel free to open an issue on the `react-gondola` repo.
21
+
**Disclaimer:** interoperability has not been entirely tested. If you encounter any issue, feel free to open an issue on the `react-nonav` repo.
@@ -41,7 +41,7 @@ You can create your own transitioner if the one availables does not fit your nee
41
41
42
42
1. Your transitioner need to extend `TransitionComponent`.
43
43
2. Your transitioner will receive a `directionForward` prop. If true, your transitioner need to play the transition forward. Else, it need to play the transition backward.
44
-
3. (Optionnal but recommended) If you use jest, you can test your component using `describeTransitioner` from `react-gondola/transitions/describeTransitioner`
44
+
3. (Optionnal but recommended) If you use jest, you can test your component using `describeTransitioner` from `react-nonav/transitions/describeTransitioner`
45
45
46
46
⚠️ If you use jest and want to test you Transitioner wihch uses `react-native-reanimated`, make sure you correctly mocked `react-native-reanimated`.
0 commit comments