You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Zero dependency, only 1308 bytes gzipped vs 17KB React Router.
Not sure if outdated information or something else (not excluding my own error) but react-router is about 11Kb in my estimations, not 17Kb. Not a huge difference by itself but relatively it is.
Total 19.84Kb, preact of it is 8.2Kb. These are not hyper exact sizes but accurate enough.
By the way, I love what you're doing.
I'm in the middle of app diet myself and I would have jumped on wouter train ASAP but I do a lot of fancy stuff with urls and the absence of Link API (particularly state) and history of last navigation unfortunately puts a stop to my conversion.
@gitcatrat Thanks, that info was probably outdated. I fixed the README.
Regarding your transition: I know, the state/search support has been requested multiple times. Good news is I'm planning to release an improved useLocation hook soon that will allow to specify state and other navigation parameters. Stay tuned!
Not sure if outdated information or something else (not excluding my own error) but react-router is about 11Kb in my estimations, not 17Kb. Not a huge difference by itself but relatively it is.
Total 19.84Kb, preact of it is 8.2Kb. These are not hyper exact sizes but accurate enough.
By the way, I love what you're doing.
I'm in the middle of app diet myself and I would have jumped on wouter train ASAP but I do a lot of fancy stuff with urls and the absence of Link API (particularly
state
) and history of last navigation unfortunately puts a stop to my conversion.The text was updated successfully, but these errors were encountered: