Closed nitedani closed 2 weeks ago
but imports
vike/abort
andvike/client/router
both on the client and server
That isn't an issue: navigate()
can be imported on the server-side (it throws an error if called on the server-side).
Let's re-open once we work on this again.
Second version of useNavigate PR, single file, but imports
vike/abort
andvike/client/router
both on the client and serverAlternative implemenation: https://github.com/vikejs/vike-react/pull/123.