bs-preact-starter icon indicating copy to clipboard operation
bs-preact-starter copied to clipboard

Deprecated in favor of https://github.com/utkarshkukreti/reaml, which has more features, works with the latest BuckleScript, and can be used with both React and Preact.

bs-preact-starter

A starter for bs-preact demonstrating a useReducer based Counter. Compiles to 4kb minified + gzipped JS.

Setup

$ yarn install

Development

This will start bsb and microbundle in watch mode:

$ yarn start

Open index.html to run the code.

Production

This will build standalone JS files into dist/.

$ yarn build

License

MIT