Use throw render()
/ throw redirect()
inside React/Vue/Solid components
#1707
Labels
enhancement ✨
New feature or request
Description
In principle, it should be possible to use
throw render()
andthrow redirect()
inside UI components.For this to work,
vike-{react,vue,solid}
need to catch the exception and then re-throw it inside theonRenderHtml()
/onRenderClient()
hook, so that the exception propagates to Vike.Contribution welcome.
The text was updated successfully, but these errors were encountered: