dustingetz / react-cursor

Immutable state for React.js
1.03k stars 50 forks source link

Decouple cursor from react component. #63

Closed dustingetz closed 8 years ago

dustingetz commented 9 years ago

(don't merge) These are the proposed changes for https://github.com/dustingetz/react-cursor/issues/53

lijunle commented 9 years ago

Hi, @dustingetz

I added some comments on your code, please take a look. :smile:

lijunle commented 8 years ago

I have to say the hello world example with js-atom is very hard to understand. Could you please provide an example without js-atom?

dustingetz commented 8 years ago

Here are three ways to use react-cursor 2.0.0-alpha, atom is the most powerful. (I didn't test this code)