solidjs / solid-docs

SolidJS Docs.
https://docs.solidjs.com/
224 stars 264 forks source link

added data api guide (hackathon submission) #934

Open devagrawal09 opened 18 hours ago

devagrawal09 commented 18 hours ago

Description

Added a new section to SolidStart Learn docs called Guides Added a guide to SolidStart Learn docs for using data API. This guide covers This guide might have some redundant information from the data loading docs as well as the reference docs on the solid-router data APIs. I tried my best to keep the guide succinct and link the reference docs wherever applicable for more info. Long term it's gonna take a while to find the best balance of tutorial, guide, and reference content in these docs. This guide also doesn't really cover client side usage, so we would likely need another guide that lives in the router docs for purely client side usage.

This guide anticipates this PR and uses query instead of cache, and mentions the action onComplete hook for advanced cache management.

stackblitz[bot] commented 18 hours ago

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

netlify[bot] commented 18 hours ago

Deploy Preview for solid-docs failed. Why did it fail? →

Name Link
Latest commit 1aa1082216f777c2cf1ec6889da80f8cd729a627
Latest deploy log https://app.netlify.com/sites/solid-docs/deploys/671fb28b5042990008910b70