AppState will change between one of 'active', 'background', or (iOS) 'inactive' when the app is closed or put into the background.
react-gsap lets you use the GreenSock Animation Platform (GSAP) in React in a fully declarative way. It abstracts away the direct use of the GSAP Tween and Timeline functions. If you need the full ...