Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Component should use Middlewares #66

Open
syifan opened this issue Jan 3, 2024 · 2 comments
Open

Component should use Middlewares #66

syifan opened this issue Jan 3, 2024 · 2 comments
Labels

Comments

@syifan
Copy link
Contributor

syifan commented Jan 3, 2024

The state class should contain all the states of the component so that the component only defines the behavior.

The state class should be serializable and deserializable.

@syifan syifan added the v4 label Jan 3, 2024
@syifan
Copy link
Contributor Author

syifan commented Apr 25, 2024

Shall we just enforce more on the middleware pattern?

@syifan
Copy link
Contributor Author

syifan commented Apr 25, 2024

And we need to support serialization.

@syifan syifan changed the title Every component should have a State struct. Component should use Middlewares Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant