Comments (5)
hey @andrew-levy! thanks for tagging me here
I'm thinking that react context's should't be created and consumed directly by the package itself. this should be implemented by the end user. so you need to provide a Provider
component to the user (from the navigation
package) that the user can then wrap their app around, and then main.js
package can safely consume it...
from swiftui-react-native.
by the way, react-navigation
library has this Large Title animation built in... do you need to reimplement this animation?
from swiftui-react-native.
Hey @sallar. Ah that makes more sense now, thanks. I'll go ahead and try that. I wasn't able to find a the Large Title functionality in react-navigation
, did you mean react-native-navigation
?
from swiftui-react-native.
@andrew-levy react-navigation
has another stack navigator called "native" stack navigator, which I really like, and is possible to use with Expo as well:
https://reactnavigation.org/docs/native-stack-navigator/
This one uses the OS's default navigator (on both iOS and Android) and has the large title functionality too. I recommend using this instead of the "javascripty" one
from swiftui-react-native.
@sallar Wow cool I didn't know that existed. Was searching for that for a while but I guess I missed it
from swiftui-react-native.
Related Issues (12)
- question about styled-components HOT 12
- Possible new color system HOT 2
- Proposing hot reload for development env HOT 7
- Chevron accessory of Link component HOT 8
- Navigation Views Proposal HOT 2
- Use Expo Module API HOT 6
- Use Flex Gap for spacing
- List component is not scrollable
- Colors and Themes HOT 2
- ERROR TypeError: null is not an object (evaluating '_useColorScheme.colorScheme') HOT 3
- Compatible with Expo? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swiftui-react-native.