welldone-software / why-did-you-render

why-did-you-render by Welldone Software monkey patches React to notify you about potentially avoidable re-renders. (Works with React Native as well.)
https://www.npmjs.com/package/@welldone-software/why-did-you-render
MIT License
11.11k stars 196 forks source link

counld author make a support for swc? #255

Closed dev-meta closed 1 year ago

dev-meta commented 2 years ago

I'd appreciate if why-did-you-render counld support for swc, since swc is so popular with many libraries

vzaidman commented 1 year ago

It looks like a library that's used for compilation and bundling of apps. I don't see a reason why you wouldn't be able to follow the installation steps to add the code to your React app that's bundled with swc. Or what am I missing?