solidjs / solid-docs-next

SolidJS Docs.
https://docs.solidjs.com/
208 stars 225 forks source link

Use route component in Protected Routes example #769

Closed Brendonovich closed 4 weeks ago

Brendonovich commented 1 month ago

load functions ignore retuned/thrown redirect/reload/etc. While it can be called in load as an optimisation, it's necessary for getPrivatePosts to be called in the component body.

stackblitz[bot] commented 1 month ago

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

netlify[bot] commented 1 month ago

Deploy Preview for solid-docs ready!

Name Link
Latest commit 09c03f94fa08ff28bc95abc3657a0ea6e215d17e
Latest deploy log https://app.netlify.com/sites/solid-docs/deploys/666294d93b8f980008329a6b
Deploy Preview https://deploy-preview-769--solid-docs.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.