diff --git a/packages/babel-helper-simple-access/README.md b/packages/babel-helper-simple-access/README.md index bbb7fb791d..b6083b57d4 100644 --- a/packages/babel-helper-simple-access/README.md +++ b/packages/babel-helper-simple-access/README.md @@ -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