re: A dive into testing Styled Components and React HOCs VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I just added a note on generalizing the diving using recursion.
 

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!

 
code of conduct - report abuse