Releases: Andy-set-studio/beedle
Add basic test suite
A basic test suite to test that the store's methods return what they're supposed to do and also to test that state is mutated correctly. It'll help with any PRs that might come in.
It'll be improved upon over time too.
Refactor Pub/Sub and remove Webpack
I thought the external pub/sub setup was a bit unnecessary and slight over-generic, so I pulled it all into the Store
and cleaned it up.
Webpack is also gone in favour of Rollup.
These two combined have got the dist file down to 0.5kb with gzip.
Change how default state is set
Previously you'd pass a state
parameter into a new Store
instance, but now, it makes more sense to pass an initialState
parameter instead.
Fix webpack bundling
Thanks to @benhowdle89, the webpack bundling actually works now...
Create demo and trim out logs
There were some logs that were useful for the CSS-Tricks article, but not needed now.
A little demo exists now too.
Implement Babel
I thought it'd be good to implement Babel into the build process. For now, it is configured for 'evergreen' browsers.
Initial release 🎉
This is the barebones, basic release of Beedle. You can catch it on npm too! https://www.npmjs.com/package/beedle