<Route/>-component specifies a custom path (at the domain of your app) that gets served by its render-function.
This function lets you easily render your own React-components.
You can regard it as a page of your app/website.
<Route />-component is supported as a direct child of an apps/spa or of a
<WebApp />-component in an
<IsomorhpicApp />. In both cases, there may be multiple
<Route />-component requires you to define the following properties:
paththe relative path of the route at the domain, e.g. “/” for the root, or “/something”
namethe name is used as the html-title
render(optional) is a function
() => React.nodee.g.
() => <div>Hi</div>that needs to return a React node to be rendered.
component(optional) is a React-Element that you specified/imported, e.g.
<Something />being the rendered element.
You must specify either