Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does Instagram render React views on the server while using Django? [closed]

Instagram's architecture uses Django for authentication and session management (as observed in looking at their session cookie), but the React-powered UI is rendered on the server. Presumably, Django is rendering the views.

How is this setup possible?

like image 303
Carson Avatar asked Feb 17 '26 03:02

Carson


1 Answers

https://github.com/markfinger/python-react

There are many react-rendering packages for most of the popular languages these days. Using various methods, though from what I've seen most interact with a JS runtime in some way.

like image 81
ralh Avatar answered Feb 18 '26 17:02

ralh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!