From 0368d41441bdd37bc211228a83db8af6140191a2 Mon Sep 17 00:00:00 2001 From: Logan Smyth Date: Tue, 26 Sep 2017 16:22:47 -0700 Subject: [PATCH] Fix some README issues. --- packages/babel-helper-simple-access/README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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