kit
kit copied to clipboard
[Docs idea] Best Practices - You May Not Need
Describe the problem
there are some things that people tend to forget perhaps we could document in one place as a sort of checklist for people who may carry over assumptions from other frameworks
e.g. i am very used to importing axios or node-fetch when getting data. just realized that i can just use SK's inbuilt fetch and save me a lot of trouble.
Describe the proposed solution
a "You May Not Need" document with suggestions, e.g.
- You May Not Need node-fetch or axios, use
+page.js
and SK's providedfetch
- You May Not Need error handling code if you can use
_error.js
orerror()
etc
Alternatives considered
some kind of linter?
Importance
nice to have
Additional Information
just proposing, happy to work on it but my list is pretty short right now, will come back to add when i think of anything