Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using Next App Directory #457

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mo-fouad
Copy link

@mo-fouad mo-fouad commented Jan 1, 2024

I was trying to use Next-App-Directory so I tried to add more useRouter from 'next/navigation' in Solito,
I started to add separate files in router folder in Solito to create useAppRouter hook,

But I got stuck with understanding the logic of useMemo part, Also I did not know how to test this in a real application,

I am wondering if this is the right direction to make this or not, could you please direct me to the right track ?!

Thanks

Copy link

vercel bot commented Jan 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
solito-app ❌ Failed (Inspect) Jan 1, 2024 3:01pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
solito ⬜️ Ignored (Inspect) Visit Preview Jan 1, 2024 3:01pm

@nandorojo
Copy link
Owner

Why don't you just import the existing useRouter from solito/navigation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants