FormidableLabs / redux-little-router

A tiny router for Redux that lets the URL do the talking.
MIT License
1.04k stars 114 forks source link

Merge old and new queries on persistQuery #199

Closed tptee closed 7 years ago

tptee commented 7 years ago

Closes #172 and #132.

persistQuery merges in the new query into the old query instead of blowing the old one away. Also fixes a bug where the wrong href would display when persisting queries.

codecov-io commented 7 years ago

Codecov Report

Merging #199 into master will increase coverage by 0.04%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #199      +/-   ##
==========================================
+ Coverage    98.2%   98.25%   +0.04%     
==========================================
  Files          18       18              
  Lines         223      229       +6     
==========================================
+ Hits          219      225       +6     
  Misses          4        4
Impacted Files Coverage Δ
src/components/link.js 100% <100%> (ø) :arrow_up:
src/reducer.js 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c89f8fa...3ac1e77. Read the comment docs.