Hi guys,
I am currently rebuilding my website and i am asking myself what is the bestway to share one timeline through multiple components ?
let's say i have this architecture
--Layout
----Header
----Component1
--------Component2
--------Component3
----Footer
And i want part of my header timeline starting after the one executed in component3 ?
Currently i am using context but it feels a bit strange to me
Provider.js
@Rodrigo I need a master timeline for my homepage. Because the homepage itself is split into multiple components, a master timeline would be really helpful in handling how to sequence the animations. That's why I was trying to store a timeline as a global state. I went ahead with redux and tried using redux tookit to store a gsap timeline as a state like you suggested in this post but am running into the error "Too much recursion"
import { createSlice } from "@reduxjs/toolkit";
import