Skip to content

Remote Functions: allow opt out of refresh. #14079

@jjones315

Description

@jjones315

Describe the problem

Allow for commands and form remote functions to opt out of refreshing. Currently I have created a blank nothing query to handle this. But it feels like there should be something built in to opt out. For example I have a command for extendSession that doesn’t require any new data, only setting a cookie.

Describe the proposed solution

Add refreshNothing or similar to svelte kit to opt out of refreshing,

Alternatives considered

This is sort of solvable in useland by creating an empty query and specifying to refresh it, but it’s not obvious and require some (minor) overhead.

Importance

would make my life easier

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions