React is just an abstraction of a State -> View function. While not universally applicable, it's very convenient during development to focus on State without thinking about View, or focus on View without thinking about…
If you describe the workflow for the production DB, then yes, that's exacly how it works. But we also need a way to fiddle with the dev environment, while keeping track of everything that happened during development…
We're doing something similar using Prisma. We have a script that queries Postgres database periodically and generates a Prisma schema for the tables/columns. Then the script diffs previous schema with a newer one and…
React is just an abstraction of a State -> View function. While not universally applicable, it's very convenient during development to focus on State without thinking about View, or focus on View without thinking about…
If you describe the workflow for the production DB, then yes, that's exacly how it works. But we also need a way to fiddle with the dev environment, while keeping track of everything that happened during development…
We're doing something similar using Prisma. We have a script that queries Postgres database periodically and generates a Prisma schema for the tables/columns. Then the script diffs previous schema with a newer one and…