nandorojo / solito

🧍‍♂️ React Native + Next.js, unified.
https://solito.dev
MIT License
3.47k stars 174 forks source link

`usePathname` does not work with react native app #470

Closed wongk closed 5 months ago

wongk commented 5 months ago

Is there an existing issue for this?

Do you want this issue prioritized?

Current Behavior

The value returned by usePathname is always undefined with react native/expo. I see there is even a to do comment in the code: // TODO test this with react navigation and expo router. does it work?.

Expected Behavior

No response

Steps To Reproduce

No response

Versions

- Solito: 4.2.2
- Next.js: 13.5.6
- Expo: 50.0.14
- React Native: 0.73.6

Screenshots

No response

Reproduction

No response

wongk commented 5 months ago

Duplicate of https://github.com/nandorojo/solito/issues/445.