
JavaScript needs a model layer
Frontend First
00:00
How to Overfetch Data in a React App
When you're working with your domain objects. You just want the full yes the full record like yeah, I just want a blog post and like if I call Like post dot authors. Don't tell me null don't mean I'm dearray right because then I have to figure out like oh Is it null because I didn't fetch them or do I need to so? This concept of over fetching creates more trouble. Yes when you're trying to answer business questions Yes. Now when you're doing UI. It took us a minute to get yes this is what I was trying to say yes When we had our way to access our hystora is just a postgres database It's
Transcript
Play full episode