A presentation at Connect.Tech in in Atlanta, GA, USA by Anastasiya Flynn
So you’ve learned React and you are able to map static designs to functional webpages - cool! The next part of your journey is learning how to add animations to your page. Through animations, you’ll make your pages more engaging and more intuitive for your end-users, and your clients will be able to create goal-driven content journeys.
In this session, I will introduce you to a few of my go-to libraries for animations. You will learn how to use these libraries to add animations to your pages. Also, you will learn animation best practices, and how to avoid animation overkill.
The following resources were mentioned during the presentation or are useful additional information.
React animation library
React animation library
Using JavaScript for animation is not the only option; there are several other alternatives. This articles is a great overview of the various animation options.
Commit that shows what changes needed to be made to a Gatsby blog listing page to add react-reveal Fade animations to each blog preview tile.
Commit that shows what changes needed to be made to a Gatsby blog details page to add a slider animation to the left nav Table of Contents using functions from react-spring.
React component for a list of search results that uses Fade from react-reveal to animate how the search results fly in.
React component for a search result item that uses ‘Spring’ and ‘animated’ from react-spring to flip search result items and reveal more data on the other side as an alternative to “Quick View” modals.
The card flip shows a demo of using react-spring (code: https://github.com/anastasiya29/jss-sandbox/blob/master/src/shared/CardFlip.js) The floating-in search results shows a demo of using react-reveal (code: https://github.com/anastasiya29/jss-sandbox/blob/master/src/components/SearchResults/index.js)
The perfect tech podcast with fun dudes - you want to get just enough info to be inspired to go and learn more, not so much that your brain is melted before you even get to work. This is where I found out about react-spring.
Open source code by the community. Reading open source code is the best way to learn about new frameworks. This is how I found out about react-reveal.
Sitecore JavaScript Services documentation and Quick Start guide
Check out if working as a Sitecore JSS (JavaScript Services) developer is the right specialization for your career. Go to the Developer Trial page, and sign up for the JSS trial.
Free presentation templates for personal and professional use.
Here’s what was said about this presentation on social media.