Bernardo

Results 5 comments of Bernardo

@Elvynia thanks for the reply unfortunately, the work around described there did not work for me. I was under the impression I could write combos such as Mousetrap.bind('k+j', func1); Mousetrap.bind('k',...

@ccampbell I'm trying to reproduce some shortcuts my customers are used to. I agree with what you said and only realized it as I tried. I'll try to track the...

To prevent the errors in jest, I had to do something like this (unfortunately): ``` const spy = jest.spyOn(console, 'error') describe('Error boundary', () => { beforeAll(() => { spy.mockImplementation(() =>...

> I too many curious. This a dependency for some of our software, and I'm debating if to try to find a substitute. You can always fork and maintain your...

I managed to get it working in a different approach, without touching the source ``` componentDidMount () { window.addEventListener('resize', this.updateSize) } componentWillUnmount () { window.removeEventListener('resize', this.updateSize) } componentDidUpdate () {...