You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The state member variable exposed by the BaseController is mutable and can be modified externally. Direct state modification shouldn't be allowed since it bypasses notification. The state variable should be made readonly so that it's immutable and can only be modified by calling update or an exposed API method that modifies state internally.
The text was updated successfully, but these errors were encountered:
The initial implementation of this package, with some basic utilities and tests. We have three categories of utilities to start with:
- JSON- and JSON-RPC-related, with functions like `isValidJson` and `isJsonRpcSuccess`
- Time-related, which currently only has one utility, `timeSince`, which returns the time elapsed since the specified Unix epoch
- Miscellaneous, which includes various type guards and `hasProperty`, which is an alias for `Object.hasOwnProperty`
The
state
member variable exposed by the BaseController is mutable and can be modified externally. Direct state modification shouldn't be allowed since it bypasses notification. Thestate
variable should be made readonly so that it's immutable and can only be modified by callingupdate
or an exposed API method that modifies state internally.The text was updated successfully, but these errors were encountered: