Galooshi / happo

Visual diffing in CI for user interfaces
505 stars 16 forks source link

Add example for working with React #78

Open lencioni opened 8 years ago

lencioni commented 8 years ago

All of the examples show how to set this up for generic JavaScript, which is great. However, if you want to get this set up for a project that uses React, there might be a couple of missing pieces. It would be nice if there was a clear React example or some documentation for this.

oliviertassinari commented 7 years ago

For what that worth, I have been adding an example with how to use Happo with React, using Webpack under the hood to load components. I'm not sure it's the right way to do it. I have used the vrtest set up of Material-UI as a starting point.