guide.elm-lang.org icon indicating copy to clipboard operation
guide.elm-lang.org copied to clipboard

Add example of url parsing in a webapp

Open ghost opened this issue 7 years ago • 2 comments

Add example of URL parsing in a webapp, re the TODO at book/webapps/url_parsing.md:45.

ghost avatar Oct 07 '18 12:10 ghost

Very helpful, as Url.Parser.parse usage wasn't obvious for newcomers like me. I'm wondering why it is not merged yet.

Just a question: shouldn't the init route be (toRoute url) instead of Home?

laurentpayot avatar May 15 '19 15:05 laurentpayot

Very helpful, as Url.Parser.parse usage wasn't obvious for newcomers like me. I'm wondering why it is not merged yet.

Just a question: shouldn't the init route be (toRoute url) instead of Home?

@laurentpayot Thanks, fixed!

ghost avatar Apr 26 '20 11:04 ghost