JDuqn
Results
2
comments of
JDuqn
For now I just force all my loaders to be client components with a fallback for server side : ``` "use client" import React, { useEffect, useState } from "react"...
> ```tsx > const [animation] = useState(createAnimation(...)) > ``` This will execute `createAnimation` on every render uselessly, I would advise using a callback ```txs const [animation] = useState(() => createAnimation(...))...