Skip to content

Commit

Permalink
feat(Link): improve links active behaviour
Browse files Browse the repository at this point in the history
Now checks params equality as well.

BREAKING CHANGE

Need to set "autoActive" to true explicitly.
  • Loading branch information
AoDev committed Dec 23, 2018
1 parent f941cac commit f91e2d2
Show file tree
Hide file tree
Showing 12 changed files with 245 additions and 522 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ build/Release
# Deployed apps should consider commenting this line out:
# see https://npmjs.org/doc/faq.html#Should-I-check-my-node_modules-folder-into-git
node_modules
lib
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ This has a direct influence on how you reason about your routes and your UI. Mor
npm install bard-router -DE
```

Dependencies needed: `lodash/isEqual`, `react`, `mobx`, `mobx-react`.
Dependencies needed: `react`, `mobx`, `mobx-react`.

### Source and transpiled versions available
You have the choice to import the source (ES6, JSX, not transpiled) or use a transpiled version.
Expand Down
211 changes: 0 additions & 211 deletions lib/Router.js

This file was deleted.

29 changes: 0 additions & 29 deletions lib/mobx/MobxRouter.js

This file was deleted.

98 changes: 0 additions & 98 deletions lib/mobx/react/Link.js

This file was deleted.

Loading

0 comments on commit f91e2d2

Please sign in to comment.