reactive-python / reactpy-django

It's React, but in Python. Now with Django integration.
https://reactive-python.github.io/reactpy-django/
MIT License
322 stars 18 forks source link

Add Django CSS/JS de-duplication #226

Open Archmonger opened 6 months ago

Archmonger commented 6 months ago

Description

Since CSS/JS is loaded as raw strings within a style tag, it's currently difficult to prevent duplicate loads.

This PR implements a simple server-side de-duplication algorithm for CSS and JS.

Checklist

Please update this checklist as you complete each item:

By submitting this pull request I agree that all contributions comply with this project's open source license(s).

Archmonger commented 6 months ago

Blocked on