Description
It's not a bug. I've found a way to use the link function in a simpler way. The createRouteLinks function returns an object with only one function inside and I think this can be changed.
Describe alternatives you've considered
Return a function instead of an object, to simplify the usage. โ ๏ธ It will break the library API.