by mmcromp · 1y ago · 0 comments
What if the client wants to render the output of an API in different ways depending on what screen is visible? If the server API outputs JSON, this is trivial. If it outputs HTML the client is stuck into rendering what the server gives it.
Far better to have a tool that lets you define small, reusable, composable building blocks and let your team just use those.
https://jinja.palletsprojects.com/en/stable/templates/#templ...