Skip to content

Question on the React SDK QueryRenderer component correct usage #10045

@ThiagoBarbosaDev

Description

@ThiagoBarbosaDev

Problem

Hello there, I am using cubejs React SDK and we currently heavily use the QueryRenderer for making requests.

So we we have multiple components, each with its own QueryRenderer, with its many individual queries I am observing the requests happening in waterfall as if the requests weren´t running in a Promise.all - like way.

Is the expected use having a single QueryRenderer and passing every query through the queries prop for all the data that happens on page load?

Will having multiple query renderers result in a waterfalling the requisitions ?

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionThe issue is a question. Please use Stack Overflow for questions.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions