Logging, auth chains, error handling, and rate limiting.
Check the server console for timing logs.
-
-
-
Click more than 5 times in 10 seconds to see the rate limit error.
-
useValidated() runs after input validation and receives typed parsedInput. Empty input fails validation (useValidated is skipped entirely), non-owned posts are rejected by the middleware, and owned posts succeed.
-