Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add eslint-rule to disallow constructed values in context valu…
…es (#297) As discovered in #285 there was a problem with excessive re-renders due to context values not being memoized across renders. The now added eslint-rule `react/jsx-no-constructed-context-values` catches these sort of mistakes and reports them as error. Co-authored-by: Rodrigo Faria <[email protected]>
- Loading branch information