Comments (4)
i believe this is known behavior from useRouter() from Next.js, presumably to have the same props on the client/server and avoid hydration issues of static rendering. at least thatβs my best guess
from solito.
i think it has the right parameter on first render for dynamic parameters, right? /artists/[slug]
should have slug
on the first render i assume
from solito.
keep in mind that this is why useParam
offers parse
and initial
options (on the web side only)
also, it returns an optional type, so you should always be null checking your query param variables, since they are never guaranteed to exist.
from solito.
To get around this, you probably need to use Next.js' getServerSideProps
to enable dynamic SSR. Otherwise, this is working the same way that Next.js' router would.
from solito.
Related Issues (20)
- create-tamagui with App Router throws error NextRouter was not mounted HOT 5
- solito/navigation has no exported member useLink HOT 1
- yarn native error in minimal setup HOT 6
- import error with stripe-react-native HOT 2
- Does solito work with React Native for Mac OS? HOT 3
- Is there a way to animate SVG fill color with Moti? HOT 3
- Unable to run yarn native from tailwind template HOT 2
- Custom Fonts with Solito HOT 18
- Starters eas build process fails for Android
- Bare react-native HOT 1
- suppose i wnat to use any third party library like @expo/react-native-vector-icon or any other library , can anyone plz suggest stpes to include that library and its required loader too
- tailwind intellisense inside the tailwind tempalte HOT 4
- docs: Sidebar not opening in mobile browser HOT 2
- Starter repo web project does not start
- Starter template doesn't start in iOS HOT 6
- iOS Simulator: Unable to resolve module expo-image from .../node_modules/solito/build/image/expo/image.js HOT 7
- Type Warning on SolitoImage HOT 24
- Prettier is not correctly configured in updated tailwind/expo v2 monorepo HOT 5
- using require() string literal not working with expo HOT 8
- Error Running React Native Skia in Solito Repo: Can't Resolve 'react-native-reanimated/package.json' HOT 3
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 solito.