Submitted about 1 year agoA solution to the Advice generator app challenge
React, Spring, Bootstrap, TypeScript
animation, bootstrap, react, typescript
@MrSeager

Solution retrospective
What challenges did you encounter, and how did you overcome them?
I don't quite get how spring works
What specific areas of your project would you like help with?const transitions = useTransition(adv, {
from: { opacity: 0, transform: 'translateY(-220px)' },
enter: { opacity: 1, transform: 'translateY(0)' },
leave: { opacity: 0, transform: 'translateY(220px)' },
config: { tension: 220, friction: 24 },
exitBeforeEnter: true,
});
animation on leave should go down with this transform: 'translateY(220px)' but it's just ignored
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Sergiy's solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord