Eric R

Results 2 comments of Eric R

> FocusHandler.handleClickOutside = () => setFocus(false) This line is the problem. This ties a static method to a single instance, which is a serious anti-pattern in React. The class-based usage...

I had the same idea when I saw the proposal's syntax. - This has the benefit of familiarity given its a clear extension of the existing dynamic key syntax, as...