
# Objective - Enable state scoped entities by default - Provide a way to disable it when needed --------- Co-authored-by: Ben Frankel <ben.frankel7@gmail.com>
447 B
447 B
title | pull_requests | |
---|---|---|
Entities are now state scoped by default |
|
State scoped entities is now enabled by default, and you don't need to call app.enable_state_scoped_entities::<State>()
anymore.
If you were previously adding the #[states(scoped_entities)]
attribute when deriving the States
trait, you can remove it.
If you want to keep the previous behavior, you must add the attribute #[states(scoped_entities = false)]
.