top | item 45706985

(no title)

sunnybeetroot | 4 months ago

OP is likely talking about local business logic, ie password field is min 3 chars long. You validate that in the FE before sending it up to get instant feedback to the user.

discuss

order

weird-eye-issue|4 months ago

Your API should be fast enough and hosted on the edge so that the server side validation is instant feedback

sunnybeetroot|4 months ago

There are external factors apart from your own API that can impact latency, for example a user could be in an area of poor internet connection or have a slow connection. Users do not live in our perfect development environment bubble where everything just works, it’s important not to assume that.