nandorojo / solito

🧍‍♂ī¸ React Native + Next.js, unified.
https://solito.dev
MIT License
3.53k stars 180 forks source link

↩ī¸â“ Add `canGoBack` to routers #481

Open dnlgrgly opened 3 months ago

dnlgrgly commented 3 months ago

I think it'd be nice to expose canGoBack in the Solito useRouter hooks to match React Navigation's capabilities.

I've tested it locally and it seems to work fine both on web and native. This is my first contribution so all feedback is much appreciated 🙌

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗ī¸Ž

Name Status Preview Comments Updated (UTC)
solito-app ❌ Failed (Inspect) Jul 30, 2024 9:42pm
1 Skipped Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **solito** | âŦœī¸ Ignored ([Inspect](https://vercel.com/fernando-rojos-projects/solito/6WK32AHVsS1DXFLLdFjtMk6U7H7Z)) | [Visit Preview](https://solito-git-fork-dnlgrgly-add-can-36ec0a-fernando-rojos-projects.vercel.app) | | Jul 30, 2024 9:42pm |
vercel[bot] commented 3 months ago

@dnlgrgly is attempting to deploy a commit to the BeatGig Team on Vercel.

A member of the Team first needs to authorize it.