QwikDev / qwik

Instant-loading web apps, without effort
https://qwik.dev
MIT License
20.71k stars 1.29k forks source link

add documentation on now to track useStore #6886

Open czuma opened 2 weeks ago

czuma commented 2 weeks ago

What is it?

Description

this add documentation on a case you want to track useStore and act when some of it's internal values change. This is added because the anonymous function expresed don't work and you need to provide the track function the object directly. more info here https://discord.com/channels/842438759945601056/1161720833035743272

Checklist:

changeset-bot[bot] commented 2 weeks ago

⚠️ No Changeset found

Latest commit: a6e7bff2ecb416acea0b62616b5fa057bb4e7ebb

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR