Skip to content

Make RouteScopeOwner for PreserveOnRefresh more discoverable #4157

@mshabarov

Description

@mshabarov

Tell us about your request

I've heard few concerns about AtPreserveOnRefresh not working, when coupled with AtUIScoped beans.
Indeed this combo doesn't work because of architectural limitations, however, you can make this case work with using AtRouteScope + AtRouteScopeOwner + AtPreserveOnRefresh as documented here https://vaadin.com/docs/latest/flow/integrations/spring/scopes#routescope.preserve (same article is in CDI integration).

So the quick improvement is to describe in a human way this possibility in https://vaadin.com/docs/latest/flow/advanced/preserving-state-on-refresh. We may think of another better API, but that's another story.


If you think this issue is important, add a 👍 reaction to help the community and maintainers prioritize this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    🅿️Parking lot

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions