Hacker News new | ask | show | jobs
by jollyllama 1422 days ago
This works fine as long as the data flow is one directional. E.g. legacy backend -> db -> read-only frontend

However once the frontend and backend begin to mutate data, you're going to have problems doing that consistently; it's an anti-pattern I recommend against. Better to have an API handle everything.