Skip to content

Releases: barelyhuman/babel-plugin-mutable-react-state

v0.0.3

02 Jan 23:49
Compare
Choose a tag to compare

No changes

just updated docs and hence the release

v0.0.2

02 Jan 12:21
Compare
Choose a tag to compare

Changelog

f85e789 - supports arrow functions and self dependent updates

$a = "hello";
$a = $a.toUpperCase();
// transforms to 
setA(_prevState => "hello");
setA(_prevState2 => _prevState2.toUpperCase());

da30e8c - you can now use update expressions (++,--) for number state increments

$count++
// transforms to 
setCount(prevState=>prevState+1)

v0.0.1

16 Dec 03:16
Compare
Choose a tag to compare

bacb536 - Adds support for arrow function definitions
de8d33b - Limited transformation to just scope's of function defintion
b8be49c - Refactor to a babel plugin
0166302 - intitial commit