README.md (795B)
1 # figure 2 3 ### The vanilla alternative for writing JSX-based React applications 4 <br/> 5 6 The figure framework offers a unique approach to writing React applications by leveraging vanilla JavaScript syntax instead of JSX, making it an excellent tool for programmers who prefer to avoid the bloat of the NodeJS/npm ecosystem. With its use of template literals, figure provides a more natural way of writing code, making it ideal for building smaller applications. 7 8 If you're looking for a more efficient way to build React applications, figure might just be the tool you need. 9 <br/> 10 <br/> 11 12 ```javascript 13 import figure from 'https://cdn.typable.dev/figure'; 14 15 const { dict } = figure(React.createElement); 16 const html = dict(); 17 18 function App() { 19 return html` 20 <h1>I figured it out!</h1> 21 `; 22 } 23 ```