Hacker Newsnew | past | comments | ask | show | jobs | submit | silviogutierrez's commentslogin

Ackchyually… I think this is apocryphal.

https://www.snopes.com/fact-check/brothel-laws-sororities/


Oh man, you're totally right! I never even considered that it was just a college rumor.


Was wondering the same thing


I wrote about docker development (and a library that solves this for Django here): https://www.reactivated.io/documentation/why-nix/#native-per...


Check out my project, built exactly for this: https://www.reactivated.io


Nothing on the python side for templating will ever come close to React or things like that. I built https://www.reactivated.io specifically to let python do what it does best (business logic / backend) and render using React. But all still server side without the downsides of a SPA.


It can, just needs to be built. I'm thinking of something that can both compile to WASM AND be somewhat like Phoenix Liveview.

Looks like there's some attempts for Phoenix Liveview for Python.

https://github.com/liveviews/liveviews?tab=readme-ov-file#py...


I think the foundation, sure.

But the ecosystem of React, including UI libraries, charting, forms, and so forth, is enormous.


Every developer I know who has adopted Blazor never wants to go back and touch JavaScript. If you do it right, it will sell itself, your market isn't people who use React exclusively, but people using Python and possibly react, but also any other web framework. IMHO the key thing would be a standard similar to WSGI for this system, so it can be implemented and supported by any web framework. ... the more I think about it, the more I am going to have to look at writing a draft PEP...


Shameless plug for https://www.reactivated.io

It swaps the templating engine for React. But still server side and using all the Django features you know and love. No SPA needed.


thanks for sharing! The server side story is definitely a consideration why I'm not hyped on Inertia.js for now, this seems to solve it. My current nitpick is my personal preference for Svelte/SvelteKit. I hope you don't mind me taking a look at the repo and try to have Svelte as an option.


Sure thing. The magic is in vite.mts, render.mts and renderer.py

In theory, you could swap in Svelte in there.


Big fan of typing improvements in Python. Any chance you can elaborate on the "if let" pattern in Rust and how it would look in Python now? Not sure I follow how it translates.



o.O wat? That's awesome!


I'm the creator of Reactivated[1] and fully agree with a lot of the aversion to SPAs [2] and REST [3][4]

But to me, writing my markup in JSX (really, TSX with TypeScript) and using scoped CSS solutions was too good to pass up. I just couldn't bear writing text-based templates.

That's why I built Reactivated: combining the best of both worlds. Server-rendered, simple markup — albeit still in TypeScript — but you can add interactivity as needed.

Of course, HTMX is far less opinionated and framework-agnostic. So it can be used with any number of libraries / stacks.

[1] https://www.reactivated.io

[2] https://www.reactivated.io/documentation/philosophy-goals/#t...

[3] https://www.reactivated.io/documentation/philosophy-goals/#r...

[4] https://htmx.org/essays/how-did-rest-come-to-mean-the-opposi...


Since you like Python and want a turnkey React/Python integration with a Django backend, check out https://www.reactivated.io.

It's not drag and drop, but abstracts away all tooling and let's just get to just writing your code. Either in React or in Django templates.

Eventually, if you have any dynamic behavior, you're going to end up rebuilding a lot of what React does for you.

Full disclosure: I'm the creator.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: