Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions articles/flow/integrations/cdi/contexts.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -281,4 +281,8 @@ Injected beans aren't preserved when they're `UIScoped`, but only when they're `
The `UI` instance itself isn't preserved, but routing components are preserved. Any bean tied to the `UI` instance with `UIScoped` is recreated. The preserved routing components are moved to the new `UI`. To preserve beans during a browser refresh, you need to use `@RouteScoped`, as shown earlier.


.Vaadin scoped bean need to be serializable
[NOTE]
Scoped bean instances are stored in the session. This means in case you persist sessions using some 3rd party tool, the beans needs to be serializable.

[discussion-id]`4AAFA7A1-CF85-42D6-A7F2-E0CB0DB70FD1`
Loading