pub trait UnreactiveState { }
Expand description

A marker trait for types that you want to be able to use with the Perseus state platform, without using #[derive(ReactiveState, ..)]. If you want to use unreactive state, implement this, and you’ll automatically be able to use your unreactive type without problems!

Since unreactive state will never be changed on the client-side, it is automatically ignored y the hot state reloading system, if it is enabled.

Implementors§