code: function Link({ to, children }) {
    function click(e) {
      e.preventDefault()
      navigate(to)
    }
  
    return <a href={to} onClick={click}>
      {children}
    </a>
  }
docs: note this is just an example, this package does not provide a Link equivalent found in react-router, nor does it provide bindings for tools like Redux. You'll need to wire these up as desired.