- Notifications
You must be signed in to change notification settings - Fork4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
docs: Improve documentation regarding .svelte.js and svelte.ts $state export rules#15586
Conversation
|
Thank you! I think this is better located belowhttps://svelte.dev/docs/svelte/$state#Passing-state-into-functions |
Agree — have opened#15713, so I'll close this. Thanks |
I was recently discussing thestate_invalid_export error with a colleague and I was surprised it isn't mentioned in the docs directly.
Before submitting the PR, please make sure you do the following
feat:
,fix:
,chore:
, ordocs:
.packages/svelte/src
, add a changeset (npx changeset
).Tests and linting
pnpm test
and lint the project withpnpm lint