Continuing my series on Rescript, this article covers React forms with managed state and dispatching useReducer actions when our state changes.
As a functional language, Rescript maps beautifully to redux-style state management, without all the boilerplate
Whenever I start a new hobby web project, I just want to jump in and start coding. Instead, I spend many many hours trying to get authentication to work. I’ve got half a dozen half-finished “boilerplate” projects lying around that were supposed to satisfy the desire of, “next time, I can use this boilerplate and authentication will just work.” It never does. One thing I know I don’t want to do is manage my own auth database anymore.