Closed danieljpgo closed 8 months ago
The examples of the implementation using React are a life saver, but I believe we can improve them by adding the removeEventListener for the resize event.
removeEventListener
resize
window.removeEventListener('resize', onResize);
Here the PR: https://github.com/shuding/cobe/pull/76
Merged
The examples of the implementation using React are a life saver, but I believe we can improve them by adding the
removeEventListener
for theresize
event.Here the PR: https://github.com/shuding/cobe/pull/76