|
|
|
|
|
by whstl
417 days ago
|
|
Nobody but you is forcing you to put the “business logic” in the frontend. Both those techs might make this look convenient, but engineering rules must still be followed. Frontend should do validation and might have some logic that’s duplicate for avoiding round-trips… but anything involving security, or that must be tamper-proof, must stay in the server, or if possible be protected by permissions. There are whole classes of applications that can be hosted almost entirely by Supabase or Hasura. If yours isn’t, it doesn’t mean you should force it. |
|
I also didn't mention security, let alone promote moving it to the front end.