v3.0.0
- [BREAKING] Default entry point exports a Router class configured with wc and routerLinks middlewares
- [BREAKING] Smaller size. Core size was reduced from 15.1 kB to 13 kB (minimized) and from 5.82 kB to 4,96 kB (gzip)
- Make the pattern compiler configurable (now by default uses regexparam instead of path-to-regexp)
- [BREAKING] Added router-links component (replace withRouterLinks class mixin / decorator)
- Added customizable property hooks
- [BREAKING] Replaced paramValue and queryValue by fromParam and fromQuery hooks
- Initial typescript support
Size comparison (using bundlejs)
- v2.5.2
- core 15.1 kB -> 5.82 kB (gzip)
- wc 18.1 kB -> 6.97 kB (gzip)
- wc + routerlinks 19.2 kB -> 7.38 kB (gzip)
- v3.0.0
- core 13 kB -> 4.96 kB (gzip)
- wc 16.6 kB -> 6.33 kB (gzip)
- wc + routerlinks 17.9 kB -> 6.78 kB (gzip)
animated-outlet Bundle size is 3.1 kB -> 1.16 kB (gzip) (did not changed between versions)