django-react-boilerplate
react-async-component
django-react-boilerplate | react-async-component | |
---|---|---|
2 | 1 | |
1,831 | 1,447 | |
1.5% | - | |
8.7 | 0.0 | |
7 days ago | over 1 year ago | |
Python | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
django-react-boilerplate
- App web: come proseguire? Django o Node|React?
-
What tool you discovered/came across that has made your development work easier?
oh that looks awesome. I've been using this repo for my django/react apps. https://github.com/vintasoftware/django-react-boilerplate
react-async-component
-
Show HN: Django and React SaaS boilerplate tutorial
I've spent many years working on django including production setups for 3 different companies. My strong advice is to only use Django for API calls (DRF) and the built in admin UI. Do not use Django for ANY client facing static site rendering.
1. Deploy the React static pages and JS/CSS resources completely separately from Django. Cloudfront/S3 is my personal choice. You will need to tweak the CORS_ORIGIN_WHITELIST and CORS_ALLOW_HEADERS in the django settings but that's relatively easy.
2. Use Gatsy or something similar to help you with static site generation using react. Remember: React is in charge of HTML/JS/CSS of any type and Django should not get involved.
3. Use https://github.com/ctrlplusb/react-async-component or something similar to help break up your SPA so the browser doesn't have to load all of it at once and only loads smaller components on an as needed basis.
Don't mess with webpack and eject unless you have a very specialized need that cannot be addressed with everything out there.
What are some alternatives?
SPA-with-httponly-sessions - Making a JS SPA with a non-JS Backend taking advantage of httpOnly Cookies
loadable-components - The recommended Code Splitting library for React ✂️✨
django-vue-cli-webpack-demo - A minimal demo showing how to wire up Webpack of a Vue CLI app to Django templates without extra plugins.
cookiecutter-react-django - From hello world to Heroku deployment, using separated Front and Back Ends
django-sockpuppet - Build reactive applications with the django tooling you already know and love.
locust - Write scalable load tests in plain Python 🚗💨
django-react-boilerplate - DIY Django + React Boilerplate for starting your SaaS
cookiecutter-django-wagtail - Cookiecutter Django + Wagtail
django-webpack-loader - Transparently use webpack with django
bootstrap-django-gatsby - Bootstrap Django Gatsby/React for local development
cash - An absurdly small jQuery alternative for modern browsers.