Rename effect fields (#19755)

- `effectTag` -> `flags`
- `subtreeTag` -> `subtreeFlags`
This commit is contained in:
Andrew Clark
2020-09-04 14:34:07 -07:00
committed by GitHub
parent 708fa77a78
commit 1665443603
39 changed files with 464 additions and 468 deletions
@@ -74,9 +74,9 @@ const {key_new} = obj;
errors: [{message: oldAccessWarning}],
},
{
code: 'const subtreeTag = obj.subtreeTag;',
code: 'const subtreeFlags = obj.subtreeFlags;',
filename: 'ReactFiberWorkLoop.old.js',
options: [{new: ['subtreeTag']}],
options: [{new: ['subtreeFlags']}],
errors: [{message: newAccessWarning}],
},
{