egg
egg
Explore posts from servers
SSolidJS
Created by egg on 4/9/2024 in #support
Set default location state
Hi, I'm trying to have a default state object for all navigation using solid router. I tried using useBeforeLeave in a root component to overwrite the state but it seems that this feature is broken/unusable.
useBeforeLeave((e) => {
e.preventDefault()
e.retry(true)
})
useBeforeLeave((e) => {
e.preventDefault()
e.retry(true)
})
This alone will cause backwards navigation to totally not work.
1 replies