Depends on D4890. Minor change that avoids another level of indentation/for loop by using Array.some(...).
Details
Details
Flow, close reading.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Branch
- master
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
native/input/input-state-container.react.js | ||
---|---|---|
376–378 | Using Object.values might simplify it even further |
native/input/input-state-container.react.js | ||
---|---|---|
376–378 | Unfortunately Flow complains, but it is much cleaner! |
native/input/input-state-container.react.js | ||
---|---|---|
376–378 | You can use values in lib/utils/objects.js |