Riot JS - Tag Life Cycle Hooks

InstructorTim Kindberg

Share this video with your friends

Send Tweet

Every tag in Riot has a lifecycle. I'll explore the three hooks: mount, update, and unmount while adding an animation feature for an existing tag. Lifecycle hooks are important for setting up, tearing down, and keeping a tag's view up to date after external logic is run.