@staticmethod
in
size
instead of count
module
instead of command
.TryGetValue
to access elements in Dictionary
String
constructor""
instead of new String()
to create empty stringstoString
invoked on a string value is uselessBoolean
constructor is inefficient, consider using Boolean.valueOf
insteadInteger
/Long
constructor is inefficient, use valueOf
insteadsetState
in componentDidMount
polyfills
from Polyfill.io
.filter()
callsstd::vector
in loop