Skip to content

OnDataLoad Event on UseQuery blazor #8673

@behroozbc

Description

@behroozbc

Product

Strawberry Shake

Is your feature request related to a problem?

I am using the useQuery component in my Blazor application to fetch data. Currently, the component lacks a dedicated event that triggers when the data is successfully loaded. This makes it challenging to perform actions (e.g., triggering side effects) immediately after the data fetch completes.
I am not sure this event name is good but It is my suggestion.

The solution you'd like

The useQuery component should provide an OnDataLoaded event or callback that triggers when the data is successfully fetched and available.

This event should pass the fetched data as a parameter, allowing developers to handle it in their application logic.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions