so://phie

figure

The vanilla alternative for writing JSX-based React applications
git clone git://soophie.de/figure

blob: bb529bc62a252fab0a8f32dfb05135677011f14d (795 bytes)[doc][blame][raw]

1# figure

2

3### The vanilla alternative for writing JSX-based React applications

4<br/>

5

6The 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

8If 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

13import figure from 'https://cdn.typable.dev/figure';

14

15const { dict } = figure(React.createElement);

16const html = dict();

17

18function App() {

19 return html`

20 <h1>I figured it out!</h1>

21 `;

22}

23```