Skip to content

[Content]: Clarify how query cache works #1204

Open
@klequis

Description

@klequis

📚 Subject area/topic

/solid-router/reference/data-apis/query.mdx

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

https://docs.solidjs.com/solid-router/reference/data-apis/query

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

I think this is an important point that is easy to overlook and has considerable implications a user's understanding of how the cach for query works. I suggest stating that there is one cache for for all queries near the top of the page.

"*Since the internal cache is shared by all the functions using query"

As a secondary note to that, it leaves me wondering if there is one cache for the module, the component or all components/modules.

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

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedLooking for assistance on this issuesolidRelated to core Solid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions