reactjs | react-magic-move changes for React V15.1
React Magic Move is a great component given by Ryan Florence( https://github.com/ryanflorence/react-magic-move).
However when I tried to implement it it was not working in React version 15.x. Some of the functions used in that code were deprecated and were throwing error. So I thought I will fix that and here is the revised working code.
https://github.com/venkat-vs-id/magic_move_kat
This is not a Production module, its just a fun experiment I used to understand and play with ReactJS.
Steps:
1) First screen
2) Basic Example
3) Buddy List Example
However when I tried to implement it it was not working in React version 15.x. Some of the functions used in that code were deprecated and were throwing error. So I thought I will fix that and here is the revised working code.
https://github.com/venkat-vs-id/magic_move_kat
This is not a Production module, its just a fun experiment I used to understand and play with ReactJS.
Steps:
- Have a DIV with id="example"
- Copy the components to your components code.
- my_react_script.js is the code which implements the MagicMove examples. Either copy this code into your js file or use this file and make necessary changes.
- Make sure you copy the contents of my_CSS.css to your CSS file OR use this file and make required changes.
1) First screen
2) Basic Example
3) Buddy List Example
Comments