Closed developit closed 2 years ago
I'd like to find time to add a test for this before merging.
Size Change: +152 B (+2%)
Total Size: 8.15 kB
Filename | Size | Change |
---|---|---|
dist/preact-router.es.js |
2.04 kB | +37 B (+2%) |
dist/preact-router.js |
2 kB | +39 B (+2%) |
dist/preact-router.modern.js |
2.04 kB | +36 B (+2%) |
dist/preact-router.umd.js |
2.07 kB | +40 B (+2%) |
This adds a check that should make preact-router compatible with both v4 and v5 of the
history
module (the API changed).This fixes #378.