refactor: basic implement live and scroll resume.
Showing
{ | ||
"name": "react-live-route", | ||
"version": "2.0.7", | ||
"version": "3.0.0", | ||
"description": "A living route for react-router v4", | ||
"repository": "fi3ework/react-live-route", | ||
"license": "MIT", | ||
... | ... | @@ -17,8 +17,8 @@ |
"test:watch": "jest --watch" | ||
}, | ||
"peerDependencies": { | ||
"react": ">=15", | ||
"react-router-dom": ">=4 < 4.4" | ||
"react": ">=16.3", | ||
"react-router-dom": ">=4" | ||
}, | ||
"files": [ | ||
"dist/" | ||
... | ... | @@ -28,13 +28,11 @@ |
"invariant": "^2.2.4", | ||
"prop-types": "^15.6.1", | ||
"react-is": "^16.7.0", | ||
"tiny-invariant": "^1.0.3", | ||
"tiny-warning": "^1.0.2", | ||
"warning": "^4.0.1" | ||
}, | ||
"devDependencies": { | ||
"react": "^16.3.2", | ||
"react-dom": "^16.3.2", | ||
"react-router": "^4.3.1", | ||
"react-router-dom": "^4.3.1", | ||
"@types/jest": "^24.0.9", | ||
"@types/react": "^16.7.18", | ||
"@types/react-dom": "^16.0.11", | ||
... | ... | @@ -42,6 +40,10 @@ |
"coveralls": "^3.0.3", | ||
"jest": "^24.5.0", | ||
"jest-environment-jsdom": "^24.5.0", | ||
"react": "^16.3.2", | ||
"react-dom": "^16.3.2", | ||
"react-router": "^4.3.1", | ||
"react-router-dom": "^4.3.1", | ||
"react-testing-library": "^6.0.0", | ||
"ts-jest": "^24.0.0", | ||
"tslint": "^5.14.0", | ||
... | ... |
This diff is collapsed.
Click to expand it.
src/LiveRoute___.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/matchPath.tsx
0 → 100644
Please
register
or
sign in
to comment