React-like library with focus on drawing performance
npm install nesquicknesquick) was born. At first it required for you to define the subscribers, so if you forgot to create a subscriber, no state will be linked to an HTML property. Now, with the magic of Typescript, you can link states to HTML elements without taking care of the subscribers, which makes it easier. For example, this is nesquick:ts
import { useState } from "nesquick";function MyComp() {
const [ getNumber, setNumber ] = useState(0);
return
Number: {getNumber()}
;
}
`
Pretty straightforward. States have getters and setters, and that's it. With this approach, no more virtual DOM is needed.$3
Just npm install nesquick`.[WIP]