Open yotamDvir opened 8 years ago
Thanks, the documentation should indeed be better on these points -- I'll work on it.
This is a terrific library; thank you for building it. The code you've written in the examples folder is well written, but it obfuscates how to use your library. It would be great if the README had basic examples for how to use the new API to route URLs and how to use the new API to route hashes.
In the docs, I couldn't find the
Location
type alias.Furthermore, the docs say that the
Builder
can help with parsing theLocation
, but not a single function hasLocation
in its signature.Although it only took a few minutes to find such functions in the example, in my opinion the docs should define the
Location
type alias and be explicit about its intended use with theBuilder
, for people like me who never used routing before stumbling upon this library.