GithubHelp home page GithubHelp logo

nhunzaker / react-issue-reproducer Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 19.14 MB

Home Page: http://natehunzaker.com/react-issue-reproducer/

HTML 84.65% CSS 0.28% Makefile 1.99% JavaScript 13.07%

react-issue-reproducer's Introduction

Check out the new React DOM fixtures!

I've moved a lot of these issues over to the DOM fixtures folder in React:

https://github.com/facebook/react/tree/master/fixtures/dom

All of my future work will be done there. This repo is no longer maintained.


React Issue Reproducer

React tests against JSDOM. That makes it difficult to reproduce browser issues. This repo tries to fix that.

Setup

After running npm install, prepare yourself for the least ergonomic workflow ever...

Are you ready? Okay. Clone and build React as a sibling folder within the parent directory:

git clone [email protected]:facebook/react.git
cd react
npm install
npm run build

This is useful for switching out another branch and building a potential fix. Otherwise, the repo has React 15.3.0 checked in.

Host a server:

make serve

In another pane/tab, spin up selenium:

make selenium

And in the last pane/tab, execute your tests:

make test

Caveats

I haven't setup Sauce/BrowserStack integration. This only tests against Firefox. I would love to get this setup against many browsers.

react-issue-reproducer's People

Contributors

nhunzaker avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.