Skip to content

tobua/epic-jsx

Repository files navigation

epic-jsx

JSX Logo

React-compatible React rearchitecture based on Didact by Rodrigo Pombo.

  • ⚙️ Extensible components
  • 🔄 Lifecycle access
  • 🌳 Navigatable tree
  • 💯 Optimizable Virtual DOM
  • 🏙️ ES Modules
  • 🎓 TypeScript source and built-in types
  • 🧪 Built-in testing framework

Usage

import { render, useState } from 'epic-jsx'

function App() {
  const [count, setCount] = useState(1)
  return <button onClick={() => setCount(count + 1)}>Increment</button>
}

render(<App />)