~/talk

Playing nice with Django and React

Talkat PyCon Canada 2017 · 2017-11-18..11-21· [react, django]
links:none on file
slides:none on file

Argues that you avoid a full SPA by using just enough JavaScript: keep Django views, templates and forms as primary and mount small React components where dynamic behavior is needed. Uses webpack + Babel, npm/yarn and webpack loader to bundle JSX and inject a JSON context from a Django ListView into an index.js entry, demonstrating a Monty Python insult generator that compiles with watch mode and runs in the page. Claims the 80/20 rule: ~80% stays in Django.

AI-written summary · about

  1. 0:00Introduction
  2. 1:06Why learn React
  3. 4:23The full stack developer
  4. 7:28JavaScript modern features
  5. 8:44Django and React concepts
  6. 11:09Rendering approaches
  7. 15:16Challenges of integration
  8. 18:07Just enough JavaScript
  9. 21:11Webpack configuration
  10. 23:41Integrating with Django
  11. 26:41Building the components
  12. 29:27Conclusion
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.