 
     loc.url = url or '/'
     loc.hash = hash
-
     save loc
 
 


    dom.HISTORY_IGNORANT_LINK props, props.children


# Earl's Reactive nerves keep him vigilant in making sure that changes in location
# state are reflected in the browser history. Earl also updates the window title 
# for you, free of charge, if you set fetch('document').title.

react_to_location = -> 
  monitor = bus.reactive -> 
    loc = fetch 'location'
    doc = fetch 'document'


    loc = fetch('location')
    loc.query_params = query_params or {}

    # if the url has query parameters, parse and merge them into params
    if url.indexOf('?') > -1
      [url, query_params] = url.split('?')

