Re:Is creating a Django backed reactjs (like nextjs but use ...
by zxu on Wednesday February 12, 2025 @09:22AM
(#43025683)
Nice! Did you use tRPC to pass server side data from python to javascript?
Re:Is creating a Django backed reactjs (like nextjs but use ...
by unfixed on Friday February 14, 2025 @09:17AM
(#43048516)
No, but at the time we were using a monorepo for both backend and frontend, so is feasible to keep an action that checks that the models in the front and the back are aligned on each pull request.
Is a little bit tedious to set everything together, but other than that, is fine.
You most likely will lost some good DX stuff like same types in front and back (like with using tRPC and the like), but in general is pretty good: logic in python, UI in js/ts.