Skip to content

Releases: ajaishankar/stimulus-reactive

v1.0.0

17 Oct 12:46
Compare
Choose a tag to compare

Release Notes

Breaking Change - computed removed

Turns out what was supposed to be an optimization does not work without a proper scheduler from vue core.

Referencing more than one computed in an effect, results in the effect running multiple times.

Please see Vue issue describing this.

Users should upgrade and move computed to simple getters on the controller.

v0.1.4

16 Oct 01:57
Compare
Choose a tag to compare

Release Notes

Fix rollup to remove references to process.env so that that the library can be directly used in browser.

v0.1.3

15 Oct 15:12
Compare
Choose a tag to compare

Release Notes

Manage outlets array with shallowRef instead of shallowReactive.

Splicing a reactive array unnecessarily runs computations many times.

v0.1.2

15 Oct 04:52
Compare
Choose a tag to compare

Fix disconnected State

Controller's disconnect can be called before it is removed from host controller.

Cleaning up state in disconnect could cause the host controller to access invalid values.

This fix let's Stimulus reinitialize state if controller is reused.

v0.1.1

14 Oct 14:57
Compare
Choose a tag to compare

Release Notes

Property value setter

Setting a property will update internal state and then call Stimulus setter.

Earlier it would wait for valueChanged callback to update internal state.

v0.1.0

13 Oct 08:18
Compare
Choose a tag to compare

Stimulus Reactive

Stimulus Reactive Launch 🎉