Integrate Django with React

18 views
Skip to first unread message

Santhosh sridhar

unread,
Jan 3, 2020, 10:53:06 AM1/3/20
to Django users
Is there a way to integrate React JS framework with Django? How to do that?
What is the advantage of using such frontend frameworks over normal ajax?
Any help or explanation would be helpful. Thanks!

Gil Obradors

unread,
Jan 3, 2020, 12:26:34 PM1/3/20
to django...@googlegroups.com
Hi Santhosh,


Basically, React is for a nice User Interface, django templates is not exactly the essence.


The advantage is a frontend programed as a component , better UI.
Django frontend is a  MVC renders with django templates.

All of two are nice and usefully, the difference is the functionality.
In React, every button, every component is programmed and can be different from each other. Every component is defined.
You can do it with django template renders, but maybe more work.




Good luck!






Missatge de Santhosh sridhar <santhos...@gmail.com> del dia dv., 3 de gen. 2020 a les 16:53:
Is there a way to integrate React JS framework with Django? How to do that?
What is the advantage of using such frontend frameworks over normal ajax?
Any help or explanation would be helpful. Thanks!

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0d673a79-cbb3-4ef6-a490-48687a680be2%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages