Integrating React with Django

The Idea

Production

Development

Integration

Django

Webpack

Static files

Entry Point

Webpack Dev Server

HtmlWebpackPlugin

React Specific Weirdness

All about Create React App (CRA)

Plugin

Forking CRA

Ejecting

Skipping CRA

Routing

  • Use React Router
  • Pass some data from Django to React
  • Build several different Django templates

Conclusion

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
djangsters

djangsters

djangsters are human-friendly IT professionals, who develop web applications, tailored to the individual needs of their customers. https://www.djangsters.de