Talk

Building Full-Stack Python Apps with Cross Inertia, React, and Inertia.js

Thursday, May 28

16:15 - 16:45
RoomPassatelli
LanguageEnglish
Audience levelIntermediate
Elevator pitch

Modern web apps often force Pythonistas to build REST/GraphQL APIs just to serve a React frontend. But what if you could skip the API layer entirely? With Cross Inertia, you can render React components directly from Django or FastAPI.

Abstract

Building modern web applications often means choosing between two extremes: server-rendered templates with limited interactivity, or a fully decoupled SPA that requires maintaining a separate API layer. Traditional templating engines also make it harder to build reusable, component-based UIs, something React and Vue excel at. Cross Inertia offers a third path.

In this talk, we’ll explore Cross Inertia, a Python implementation of the Inertia.js protocol that lets you build React (or Vue) frontends while keeping the simplicity of traditional server-side routing and controllers. You get the power of component-based architecture with the ergonomics of server-rendered apps, no REST API to design, no client-side router to configure, no state management headaches.

We’ll cover:

  • What the Inertia.js protocol is and how it bridges server and client
  • Setting up Cross Inertia with Django and FastAPI
  • Passing data from your Python views directly to React components
  • Handling forms and validation seamlessly
  • A live demo building a small CRUD app

By the end, you’ll understand when Cross Inertia is a good fit for your projects and have the knowledge to start building full-stack Python apps with modern, reactive, component-based frontends without the complexity of a traditional SPA architecture.

TagsAPIs, Web Frameworks
Participant

Patrick Arminio