A xoid atom can be used to grab element refs (as in React's terminology) in a typesafe manner.
It's completely safe to feed
atom.set calls as refs to React components as
This usage won't result in Typescript complaints. xoid's
setmethod in this example, would be compatible with