Skip to content

LeptosQuery renders component N+1 times, where N is the number of LeptosQuery resources #35

@rconnol

Description

@rconnol

Issue:
If I use multiple Leptos Queries, and match on the results, any component nested in the Suspense or Transition will get re-rendered N+1 times, where N is the number of Leptos Queries I am using.

I created an MRE:
https://github.com/rconnol/mre-multiple-resources

If you run this application:
cargo leptos serve

if you go to /correct which uses a traditional Leptos resource, it only renders once

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions