reactive-python/reactpy-router

Create PyScript compatible router

Archmonger opened this issue · 0 comments

Current Situation

The PyScript components, currently only available in reactpy-django, are not able to perform routing if they are utilized as a root component

Proposed Actions

This issue may result in the creation of a client-side routing model for reactpy-router.

Alternatively, if react-router can somehow be kludged to work with pyscript then any proxy functions can exist in this repo. This could involve creating an artificial ConnectionContext that exists at the root of every PyScript application. EDIT: Not possible since the current implementation relies on ReactPy JavaScript modules, which currently don't take PyScript into consideration.