Skip to content

Add query string and dynamic segment support

Latest
Compare
Choose a tag to compare
@phBalance phBalance released this 25 Oct 16:29
· 35 commits to master since this release

Query strings and dynamic segments are now supported:

  • If there is no query or dynamic mapping provide empty object rather than undefined. Update documentation to match. b83457b
  • Give query strings a separate section. 43d303d
  • Need to pass query strings along in case of hard reload or history loading. 95b50a0
  • Improvements for new dynamic segement section. 51a9ce4
  • Need to push the original, not the modified, URL for history purposes. f42cab0
  • Update to reflect query string and dynamic segment support. 26102f9
  • Add dynamic path segments and query strings to pretty router. 84e340b

Add tests

  • Add tests for pretty and hash routers although hash has minimal tests. 0bbe831
  • Support tests via jest b45586f

Other improvements

  • const fix 53f0d84
  • Add a couple of new keywords. fce222b
  • Add license badge for fun and no profit. fdd9276
  • Match AppRun's hash router more precisely. c859698
  • Indicate to webpack that there are side effects from this package (modifying global variables). 1e60638
  • npm badge for fun e238518
  • Cast not required. 6f520e2
  • Fix numbering and make rehydration it's own section. fd04172
  • Explicitly mark the package as public. 85321d1
  • Grammar fix db9bedc

Differences: v0.3.0...v0.4.0