Updating a Ref with an Effect in Typescript

Is it possible to update a ref with an effect?
Was this page helpful?