Modern JavaScript for Django Developers

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. django-unicorn

    The magical reactive component framework for Django ✨

    Is unicorn close?

    https://www.django-unicorn.com/

    Wouldn't be WASM based either, but most of these types of tech aren't (yet?). I'm in the livewire camp with Laravel. I found a bit discussion of a webassembly version of livewire, but I don't think it's on the cards any time soon.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. django-rest-framework

    Web APIs for Django. 🎸

    I've seen some companies using React with Django REST Framework [1], to keep the benefits of Django (I'm not a Django dev so I will have to guess, the ORM and project structure?) while having a strong separation between front and back (separate projects, teams, deploys, etc).

    [1] https://www.django-rest-framework.org

  4. So I actually recently dealt with this, sharing this as hopefully it helps you.

    https://github.com/ospira/docker-django-react-example

    In essence, you need two instances of VSCode running connected to two separate Docker container instances. As I understand it, it's one remote container per VSCode window. Thus, I found this to be best, even though it isn't strictly speaking necessary, but it ends up feeling that way because as you said the language server integration (intellisense and extensions) will not work properly if not connected to the right container.

    If you load this up in vs code it should prompt you properly given the presence of the files in `.devcontainter` dir. Having two windows in VSCode is kind of annoying at first, but I found it was actually fine, especially on macOS where tabbing to the other VSCode window (as opposed to ungrouped alt+tab on windows) was painless, and also kept me more organized not having backend and frontend code right next to each other.

  5. typesafedjango

  6. django-bridge

    Build fast, user-friendly applications with Django and React

    Check out https://django-bridge.org/

    It allows you to use a regular Django backend with views, forms, urls, etc but render the UI with Javascript

  7. esbuild

    An extremely fast bundler for the web

    > like individual loaders/modules are/were slow, rather than webpack itself

    tbh this is just nitpicking, I'm not a react developer to do CRA debugging for them. They're paid by Facebook a couple orders of magnitude more than what we're making here, and if they're fine with the intact CRA configuration being that slow, while a third-party alternative rips through the massive pile of shit I'm working on while not bringing any obvious downsides, I'll just to the alternative.

    It's a well known problem: esbuild, which is the base of vite's HMR, boasts of speeds dozens to hundreds of times faster than webpack:

    https://github.com/evanw/esbuild?tab=readme-ov-file#why

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • ReactPy: Build ReactJS Interfaces in Pure Python

    5 projects | /r/django | 30 Mar 2023
  • Build a full-stack app with Tetra

    6 projects | dev.to | 18 Aug 2022
  • The next big python module: Which libraries are you missing?

    3 projects | /r/Python | 16 Jul 2022
  • Django IDOM: Responsive Frontend for Django

    2 projects | /r/django | 5 Feb 2022
  • The Risks of User Impersonation

    2 projects | dev.to | 24 Jan 2025