babel-plugin-react-like-svelte

svelte style react

function App() {
  let $a = useState(0);
  
  const onClick = () => {
    $a = $a + 1;
    $a = function s() {
      return 10;
    };
  }

  return <div onClick={onClick}>{$a}</div>;
}

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes