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

repeat alternative that handles animations #193

Open
cristinecula opened this issue Dec 7, 2024 · 0 comments
Open

repeat alternative that handles animations #193

cristinecula opened this issue Dec 7, 2024 · 0 comments

Comments

@cristinecula
Copy link
Contributor

Handling the in and out animation of HTML elements that are added to the DOM should be moved to a lit directive, similar to the repeat directive. This would decouple the animation from the state and will allow us to do very simple state management operations: setState((notifications) => notifications.filter(...)) or setState((notifications) => notifications.concat(n)). Such a directive would be very useful in many scenarios.

Originally posted by @cristinecula in https://github.com/Neovici/cosmoz-frontend/pull/7832#discussion_r1874410767

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant