reactive-python/reactpy-django

Resolve `view_to_iframe` limitations

Archmonger opened this issue · 0 comments

Current Situation and Proposed Actions

There are currently a few resolvable limitations of view_to_iframe.

  • No built-in method of signalling events back to the parent component.
  • All provided args and kwargs must be serializable values, since they are encoded into the URL.
    • Maybe we can wrap each individual view with another view that automatically pulls serialized arguments from the database?
    • Is resolving this actually worth it? I don't believe it's possible for standard Django views to accept objects are arguments, so is there any reason why converted views should behave differently?