cefn / watchable

Repo for @watchable/store and supporting packages.
MIT License
5 stars 1 forks source link

Use vite for bundling. Add Preact and Context examples. #11

Closed cefn closed 1 year ago

cefn commented 1 year ago

This branch has been the basis for the most recent version 1 (1.3.2) and version 2 (2.0.0-beta.1) of @lauf before the rename.

It adopts vite for bundling, to replace the manual esbuild configuration.

It also provides new demo apps to illustrate the use of preact of the React Context API and a newly-optimised counter-dom-tiny demo of a Counter app with a fully reactive store which bundles within 406 bytes!