Skip to content

Port of my soccerReact sample application to Redux

License

Notifications You must be signed in to change notification settings

holgergp/soccerRedux

Repository files navigation

Build Status Travis Build Status CircleCI

soccerRedux

This is my attempt of porting my [soccerReact] (https://github.com/holgergp/soccerReact) app to Redux. As a first attempt this might seem a bit naive, I will try to take this some steps further

You can see a version working under https://holgergp.github.io/soccerRedux

Following https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#deployment you can deploy this projectvianpm run deploy.

Notes to the tests

  • Testing stateless components works by wrapping in a statefull component (for now thats the way to go)
  • Direct invocation does not work properly by now, probably needs some Selector Lib
  • To make the tests more unittestish I need to flesh out that DND stuff, but that's the way it worked before, so I leave this for now
  • Testing with a injected store works as well

TODO:

  • port tests to redux
    • partially done, but needs some more love
    • flesh out reducer test (should be trivial)

About

Port of my soccerReact sample application to Redux

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published