ruicaridade
Joined 6 years ago
Karma
16
Submissions
8
Member since
Feb 21
Joined 6 years ago
To each their own, but I don't find Casey's performant version less readable, I don't see the need for so many abstractions.
Epomaker makes a more affordable but equally as great Topre clone, compatible with MX keycaps: https://epomaker.com/collections/niz - I have one and got nothing but good things to say.
1. Next renders the React page server-side and sends it as html/css. Once everything is done loading on the client, it becomes a regular React page. Requires a server. 2. Next pre-renders your whole website with data fetched at build time, like Hugo or Jekyll. Drop it on a CDN and you're golden.
There's some gotchas in the way FastAPI works, mostly due to its usage of thread pools and the GIL. I would recommend anyone starting a project to exclusively use asynchronous I/O (SQLAlchemy supports async with asyncpg), as FastAPI is very clearly meant as a pure ASGI framework, despite what they claim.