DEV Community

Discussion on: A dive into testing Styled Components and React HOCs

breeny profile image
Andrew Breen 👨‍💻

Potential enhancement to the dd function as well would be a graceful failure (I'm sure someone at some point would be confused as to why w is undefined in a recursive function).

Really interesting solution though, love it!

alex_escalante profile image
Alex Escalante Author

You're very right!