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

Caveats

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
7
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Issues just pointing at the current caveats of the plugin

A ticked checkbox means, this has been handled and is now doable in the plugin

- [x] Binary Expressions (`$a+=1`,`$a = $a+1`) (`$text = $text + "A"`)
- [x] Update Expressions (`$a++`,`$a--`) for numbers
- [x] Member Expressions on all types ( `$text = $text.toUpperCase()` ) ()
- [ ] Pragma changing, (let's say you want to use preact instead of react)
- [ ] you'll have to create your own setters when passing around the state to other functions / returning it from a function. [Check this issue](https://github.com/barelyhuman/babel-plugin-mutable-react-state/issues/5)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.