reactivated
django-components
Our great sponsors
reactivated | django-components | |
---|---|---|
12 | 10 | |
596 | 934 | |
- | - | |
8.4 | 9.5 | |
11 days ago | 4 days ago | |
Python | Python | |
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.
reactivated
-
What is the best auth method for django rest framework?
Though it's not in the main branch, I've POC-ed a lot of it and use it in production on this branch. You can... sort of see the ideas behind it. https://github.com/silviogutierrez/reactivated/pull/207
-
Can i host my django app under 10$?
https://www.reactivated.io/documentation/deploying/ https://github.com/silviogutierrez/reactivated/blob/main/development/scripts/deploy.sh https://github.com/silviogutierrez/reactivated/blob/main/development/Dockerfile
-
Six things I do every time I start a Django project
Theoretically, the Dockerfile should "just work"™ with Render.com as well. Right now I focus on fly.io only because their free tier offers PostgreSQL without time limits. Render, I believe, only does so for a period of time.
See here: https://github.com/silviogutierrez/reactivated/blob/main/dev...
https://github.com/silviogutierrez/reactivated/blob/main/dev...
https://github.com/silviogutierrez/reactivated/blob/main/dev...
- Best free and speedy hosting of small django project?
-
The absurd complexity of server-side rendering
Shameless plug: If you want seamless SSR with Django logic, but React templates, check out my project at https://www.reactivated.io .
It's like HTMX but uses React, and the JS bits are rendered on the server. You can then hydrate on the client.
The Reactivated docs site itself uses the project: https://github.com/silviogutierrez/reactivated/tree/main/web...
-
Reactivated — Zero-configuration Django and React
Here's one https://github.com/silviogutierrez/reactivated/blob/main/website/client/templates/HomePage.tsx
You can use any React library with Reactivated. Here's an example from the site, using react-markdown just like you would anywhere else: https://github.com/silviogutierrez/reactivated/blob/91d87e66c61c849895cabcc1ce07574111084c3a/reactivated.io/client/templates/Documentation.tsx
-
This Week in Python
reactivated – Zero-configuration Django and React.
- can I deploy django project in AWS, Google cloud or azure for free?
-
Show HN: Django and React SaaS boilerplate tutorial
That's exactly what https://github.com/silviogutierrez/reactivated does. It's a work in progress and docs are coming.
But it's the best of both worlds: Django SSR using statically typed JSX.
See for example my blog or business sites (on profile). Both SSRed by Django using React templates.
Then when the client loads, it gracefully "attaches" for dynamic interactive behavior as needed.
By far the biggest pain point is having to run node and python on the server. So I'm working on the best way to do that.
django-components
-
Htmx
The same can be said of a React frontend that talks to a JSON API. There is some structure, organization, and convention to the API endpoints, one-way data flow, and so on. Otherwise it’s chaos.
On our most recent project we do the same with Django and HTMX. Organized endpoints by component. Composable, reusable server-side components with django-components [1]. And we’ve been orders of magnitude more productive, shipping more in 1-2 months than we did the previous 12-18 months working with React.
[1] https://github.com/EmilStenstrom/django-components
-
How to conditional in HTMX Partials ?
Yes. Or django-components
-
Is it me or Django templates suck?
I use django-components to break templates into very small pieces, and never had any of the issues you describe.
-
How to create beautiful, maintainable, fast, low js websites
I've been reading about django-components and #slippers components, but don't know about combining Pre or PostCSS, Tailwind or XXX for styling and how to keep the whole thing as simple to maintain as possible. Not willing to go the Bootstrap route, but need to structure a compromise.
-
Six things I do every time I start a Django project
I had used this project for creating components https://github.com/EmilStenstrom/django-components/
Also, for simpler cases I include partial templates.
-
Growing the Tailwind CSS ecosystem
In React it is as simple Django with https://github.com/EmilStenstrom/django-components installed {% component_block "button" intent="primary" %} Now everyone using Django would have to create their own components, they also have to do this in React which is a waste.
-
what are 3 django packages everyone should know about?
I felt the ux around registering new components to be much stronger with https://github.com/EmilStenstrom/django-components although I do like how slippers uses attributes
- Ruby on Rails: View Components and Storybook and Tailwind, Match Made in Heaven?
- django-components: React / Vue-like component system for Django Templates
-
Is Django similarly to React in the way you build components?
That said, you might find this package interesting: https://github.com/EmilStenstrom/django-components/
What are some alternatives?
drf-excel - An XLSX spreadsheet renderer for Django REST Framework.
lookbook - A UI development environment for Ruby on Rails apps ✨
cookiecutter-react-django - From hello world to Heroku deployment, using separated Front and Back Ends
whitenoise - Radically simplified static file serving for Python web apps
django-react-boilerplate - DIY Django + React Boilerplate for starting your SaaS
django-webpack-loader - Transparently use webpack with django
django-sockpuppet - Build reactive applications with the django tooling you already know and love.
django-elasticsearch-dsl - This is a package that allows indexing of django models in elasticsearch with elasticsearch-dsl-py.
django-constance - Dynamic Django settings.
create-react-app-django - Easily Run a Create React App in a normal Django Template View
htmx - </> htmx - high power tools for HTML