logoalt Hacker News

jagged-chisellast Wednesday at 10:37 PM0 repliesview on HN

I think this API makes more sense from another standpoint as well.

You don’t want developers trying to rely on client-only sanitization for user input submitted to the server. Sanitizing while setting a user-face UI makes sense.