Django and React: Perfect Together
summary
Claim: React replaces Django templates to manage complex UI state and lets Django become an API layer. Concrete tools and steps: install node and npm, configure webpack and django-webpack-loader, create entry JSX files and run a webpack dev server for hot reloads, and deploy Django to serve the built bundles in production. State strategy: use component state for local bits and Redux plus AJAX calls to Django REST endpoints for global state and auth.
AI-written summary · about
chapters (7)
- 0:00Start
- 1:47Objectives of this Talk
- 3:24Django with React
- 9:42React is Backend-Agnostic
- 10:13React is Declarative
- 17:45React is Component-Based
- 38:24Stuff I Wish I had Time to Cover
related talks
19mDjango Reduxed
40mDjango & JavaScript: A long and complicated friendship
42mConfident web development with React
45mKeynote: All The Ways To Use Django with Zags
30mIsomorphic React sans Node??
47mCreating a containerized Django + React + PostgreSQL...
42mA Python-Driven Web App Framework with Django, Channels, and React
34mI Heard React Was Good
