5 ms·
I have a similar project, that doesn't require you to setup webpack, and integrated beautifully with django https://github.com/pycampers/react-pages https://gi
by devxpy 8y ago
I have a similar project, that doesn't require you to setup webpack, and integrated beautifully with django
https://github.com/pycampers/react-pages https://github.com/pycampers/react-pages
- silviogutierrez 8y agoNeat! In this case, it took a lot of work to get the forms "fielded" in React world. So you can individually render fields, etc. But yea, setup is currently a pain.
- devxpy 8y agoI have a quite very crude implementation of form fields on my side, which annotates the type of formfield (as a string) along with several other useful things, like id_for_formfield, html_name etc. -- In your https://github.com/silviogutierrez/reactivated/blob/master/client/templates/FormView.tsx https://github.com/silviogutierrez/reactivated/blob/master/c... import {Form} from '../components/Form'; I can't find `../components/Form`. Where is the source for that? --- Here are the fields I was able to extract, meaningfully. https://github.com/pycampers/react-pages/blob/417ec24129b80b91c4f429f19a0334974a2c286f/react_pages/views.py#L59 https://github.com/pycampers/react-pages/blob/417ec24129b80b... It still doesn't seem enough for building anything serious though.