Preact Async Route Versions Save

Async route component for preact-router

2.1.1

6 years ago

Adds TS bindings for preact-async-route

2.1.0

6 years ago

The loading now starts at componentWillMount so that component can be rendered on server as well.

2.0.3

6 years ago

No more re mounting of same component on same path.

2.0.0

6 years ago

in order to make usage of already imported components now preact-async-route will support 2 props

  1. component this will just take the JSX component itself and NOT the function
  2. for function calls getComponent is the prop

check README