Async route component for preact-router
Adds TS bindings for preact-async-route
The loading now starts at componentWillMount
so that component can be rendered on server as well.
No more re mounting of same component on same path.
in order to make usage of already imported components now preact-async-route
will support 2 props
component
this will just take the JSX component itself and NOT the functiongetComponent
is the propcheck README