0.25.3 • Published 9 months ago
reflex-dom v0.25.3
Reflex
Reflex is a tiny and fast reactive UI library.
- 🦋 Super lightweight and 0 dependency, about 4kb min-zipped
- 🏎 Highly performant diffing algorithm
- 🔋 Batteries included with factory extensions
- ⚛️ Truly reactive, states are Signals by design
- 🔍 Fine grained DOM updates for even better performances, components are rendered only when needed
- 🤓 Typed JSX
- 🍰 Easy to learn
- 🤘️ HMR Support for Vite
- 🚀 Super fast hydration support
Quick example
# Install with npm
npm i reflex-dom
import { h, render, state } from 'reflex-dom';
export function App (props) {
// State management
const counter = state(0);
const increment = () => counter.value ++;
const reset = () => counter.value = 0;
// Components returns a render function
return () => <div>
<h1>Hello from {props.name} 👋</h1>
<button onClick={increment}>Increment</button>
<button onClick={reset}>Reset</button>
<span>Counter : {counter}</span>
</div>
}
render( <App name="Reflex" />, document.body );
Check API and tutorials on Github
0.25.3
9 months ago
0.25.2
9 months ago
0.23.6
11 months ago
0.23.5
11 months ago
0.23.4
11 months ago
0.25.1
11 months ago
0.23.3
11 months ago
0.25.0
11 months ago
0.24.0
11 months ago
0.23.2
1 year ago
0.23.1
1 year ago
0.23.0
1 year ago
0.22.2
1 year ago
0.22.1
1 year ago
0.22.0
1 year ago
0.21.7
1 year ago
0.21.6
1 year ago
0.21.5
1 year ago
0.21.4
1 year ago
0.21.3
1 year ago
0.21.2
1 year ago
0.21.1
1 year ago
0.21.0
1 year ago
0.20.4
1 year ago
0.20.1
1 year ago
0.20.3
1 year ago
0.20.2
1 year ago
0.20.0
1 year ago
0.18.0
2 years ago
0.17.12
2 years ago
0.17.11
2 years ago
0.17.10
2 years ago
0.17.9
2 years ago
0.17.8
2 years ago
0.17.7
2 years ago
0.17.6
2 years ago
0.17.5
2 years ago
0.17.4
2 years ago
0.17.3
2 years ago
0.17.2
2 years ago
0.17.1
2 years ago
0.17.0
2 years ago
0.16.2
2 years ago
0.16.1
2 years ago
0.16.0
2 years ago
0.15.0
2 years ago
0.14.17
2 years ago
0.14.16
2 years ago
0.14.15
2 years ago
0.14.13
2 years ago
0.14.12
2 years ago
0.14.11
2 years ago