2 ms·
I would wrap such libraries myself, which is rather easy with React and takes out one third party thing that could break. I made an integration example a while
by k__ 10y ago
I would wrap such libraries myself, which is rather easy with React and takes out one third party thing that could break.
I made an integration example a while ago: https://github.com/kay-is/react-from-zero/blob/master/16-advanced-integration.html https://github.com/kay-is/react-from-zero/blob/master/16-adv...
I found it much easier to reason about these libraries behaviour if I had one small interface from React to the lib. It makes updates also easier, no need to wait that the wrapper gets updated.