JSFiddle - React, Tailwind, and code Playground
by joehannes
HTML
<script src="https://cdnjs.cloudflare.com/ajax/libs/react-spring/9.0.0-rc.3/web.cjs.js"></script>
<main id="root"></main>
CSS
body {
background: cyan;
color: magenta;
}
React
import { useSpring, animated } from 'react-spring';
const App = () => {
let j = useSpring({
x: 100,
from: {
x: 0
}
});
return ( < div >
<
header > hello, < /header>
joehli!!!
<
/div>
);
}
ReactDOM.render( < App / > , document.querySelector("#root"))