Logo Awesome React

Awesome React

Use defaultProps for mocking

Sharing a trick I learned from @ryanflorence for mocking dependencies using defaultProps.

Final codesandbox: https://codesandbox.io/s/v8j6r807o5
Phone call recording: https://www.youtube.com/watch?v=vVlcq3e1ooI