The current react example uses old syntax and requires a dependency for the deprecated createClass function. This PR replaces it with a more contemporary style.
It also fixes a small issue with the current React example not animating as described in issue #34
The current react example uses old syntax and requires a dependency for the deprecated
createClass
function. This PR replaces it with a more contemporary style.It also fixes a small issue with the current React example not animating as described in issue #34
Working example can viewed on codesandbox.