Fix some README issues.

This commit is contained in:
Logan Smyth 2017-09-26 16:22:47 -07:00
parent e65994e43d
commit 0368d41441

View File

@ -1,7 +1,7 @@
# babel-helper-simple-assignment
There are many cases where it is hard to perform transformations because a
piece of code using complex structures. Say you want to rewrite all accesses
piece of code is using complex structures. Say you want to rewrite all accesses
to a given variable, and there are cases like
```
@ -11,7 +11,15 @@ i += 1
It is difficult to work with.
This helper can handle converting these to simple access patterns of
This helper can handle converting these to simple access patterns of standard
assignment. This plugin does _not_ handle
```
{ a } = foo;
```
so assignment to patterns still needs to be handled when you are processing
updates to values.
## Usage