focal
focal copied to clipboard
Classes in Atoms lose their functions after modification
Due to the way setKey
is written, the original prototype is forgotten. This means all of the functions disappear as well.
https://github.com/grammarly/focal/blob/281b70f294b7fe44a9ac362ea39272da07319a36/packages/focal/src/utils.ts#L7-L19