• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

aboeglin / react-router-v4-transition / 43
91%

Build:
DEFAULT BRANCH: master
Ran 17 Jul 2017 09:35AM UTC
Jobs 1
Files 2
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
43

push

travis-ci

web-flow
Fix prop issue (#8)

* Fix child properties issue

In the current release, the props given to the components under the
TransitionSwitch are not dynamic anymore. This is due to the fact that
we store a clone from this.props.children in the internal state of
TransitionSwitch.

The current solution is to only store the key in the state, and in the
render method we retrive in this.props.children the ones that match the
keys from the state, and we render these

* Add support for render and component props of <Route />

Add support for <Route/>'s component prop. It is the most common use
case and it is now supported.

Add support for <Route/>'s render prop. It is now going to fully support
the react router v4 Route API.

TransitionSwitch no longer returns the underlying Route, but only what
the Route element would render, meaning the child given to the Route
via component, render, or children.

74 of 85 branches covered (87.06%)

Branch coverage included in aggregate %.

33 of 33 new or added lines in 1 file covered. (100.0%)

78 of 82 relevant lines covered (95.12%)

14.37 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
100.0
src/TransitionSwitch.js
Jobs
ID Job ID Ran Files Coverage
1 43.1 17 Jul 2017 09:35AM UTC 0
91.02
Travis Job 43.1
Source Files on build 43
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #43
  • 4bece6a2 on github
  • Prev Build on master (#38)
  • Next Build on master (#44)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc