DEV Community

Discussion on: How to use HarperDB instance with React Hooks

Collapse
 
jacob_b_cohen profile image
Jacob Cohen

This looks to be a quick example application for those getting started with coding. You are correct that the some of the design patterns would not hold up in a production system, but that doesn't seem to be the point of this post.

Collapse
 
amanhimself profile image
Aman Mittal

I'd like to add, not every web app needs a design pattern where all CRUD operations are required or are necessary. I really love the auto refresh feature.

Thread Thread
 
sqlrob profile image
Robert Myers

Right. And those operations should be shut off at the server, not at the app. You've got db credentials, just because it's not in the app doesn't mean someone won't take advantage of it.

Never trust the client.