react-cursor icon indicating copy to clipboard operation
react-cursor copied to clipboard

Add assertion preventing function references inside cursors

Open dustingetz opened this issue 9 years ago • 2 comments
trafficstars

See https://github.com/dustingetz/react-cursor/pull/86 https://github.com/dustingetz/react-cursor/issues/19

dustingetz avatar Jan 22 '16 15:01 dustingetz

Need to understand how to deal with class instances and objects with prototypes in cursor first

dustingetz avatar Jan 22 '16 15:01 dustingetz

Disallowing the use of more complex types like Date, Map, Set might be problematic for cursor users down the road. I know there is something nice about having state that can be serialized to/from JSON or DOM storage, but not every component needs that. Something to consider.

newyankeecodeshop avatar Jan 22 '16 16:01 newyankeecodeshop