Utilities to Convert Django Forms to VDOM #28
Archmonger
started this conversation in
Ideas
Replies: 1 comment
-
related: reactive-python/reactpy#859 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It might be possible to develop utilities to convert Django Forms into a VDOM construct.
Django forms have methods to return HTML for all data attributes in the form, which we can easily create something to more conveniently plop on the page. We may also want to create some utilities that aggregates the data
onSubmit
, checks validity through the Django Forms API, and either performs a save or displays errors if they exist.I'm not familiar with how forms are accomplished in ReactJS. But, converting Django forms to IDOM seems accomplishable without third party packages.
Beta Was this translation helpful? Give feedback.
All reactions