This release brings some small improvements:
Link
can now accept a function inclassName
for applying styles to currently active links. Read more #419- In SSR, search string can now be extracted directly from
ssrPath
, e.g. pass/home?a=b
tossrPath
and it will pre-fillssrSearch
#420 - Finally, after more than 2 years of waiting, links have proper
href
rendered when used with hash location. Before the fix, a link pointing to"/#users
was rendered as<a href="/users" />
without a hash. This now can be controlled via anhrefs
function defined on a router, but for built-inuseHashLocation
this is done automatically. See #421 - Minor improvement: use
flatMap()
method to flat child element in a switch. Thanks to abjfdi. See #254