Contributed to open source
https://github.com/pmndrs/valtio/pull/88
https://github.com/pmndrs/valtio/pull/95