Modify SimpleReactPyClient
to not use pre-defined endpoints
#1079
Labels
priority-2-moderate
Should be resolved on a reasonable timeline.
type-refactor
About improving code structure.
type-revision
About a change in functionality or behavior
Current Situation
We currently require a structured/implict routes for
SimpleReactPyClient
.Proposed Actions
Rewrite
SimpleReactPyClient
to allow the user to define their own routes. Will need a prop for each route.Similar to
reactpy-django
, we need the following customization options:mountId
504ef671-57a4-4128-a48d-3ec94c9bfd41
websocketUrl
reactpy/<dotted_path>
jsModulesUrl
reactpy/modules/
reconnectMax
3600
reconnectInterval
5
Note: We need to start treating the client JS file completely separately from other static files. The user needs can't ever configure their static file dir if we rely on it for core behavior.
The text was updated successfully, but these errors were encountered: