solidjs / solid-docs

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

[Solid-Router] Update documentation on `cache()`, `query()`, and `action()` #923

Open atilafassina opened 1 week ago

atilafassina commented 1 week ago

📚 Subject area/topic

Solid-Router, data-fetching

📋 Page(s) affected (or suggested, for new content)

perhaps others on data-loading and mutations

📋 Description of content that is out-of-date or incorrect

A new Pull Request is in the works which will possibly deprecate cache() method in favor of a new query() method. On top of that, it will add extra functionality to action() in a non-breaking way.

This issue is to flag an immediate update in these entries and all related entries that have cache() in their code snippets.

https://github.com/solidjs/solid-router/pull/490

🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)

No response