ReScript: digitalising a hospital with the JavaScript from the Future
summary
A hospital appointment web app gets built with ReScript and React, compiles to readable JS, and runs the demo form end to end; fast iteration shows a claimed 56 milliseconds cold build, automatic formatting, and one-to-one outputs (one JavaScript file per ReScript file). Types catch mismatches early, a variant-based state machine collapses many invalid UI states into three explicit steps, generated JS is inspectable, and the app works in the demo while staying small and low-cost to iterate.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:37What is ReScript
- 3:42Hospital appointment booking
- 8:41Customer’s problem
- 10:07Demo: ReScript build times
- 11:12Defining ReScript types
- 15:05Creating ReScript functions
- 18:14ReScript type handling
- 20:22ReScript with React
- 23:05State modeling in ReScript
- 27:41Reducing state complexity
- 32:03Key takeaways and conclusion
related talks
13mReact Without JavaScript?
21mUsing Next.JS and Redux for Epic Noscript Web Apps
38mReact as a Developer Health Tool
49mClojureScript: Fun and productive web development with next level tooling
41mYou Really Don't Need All That JavaScript I Promise
30mReact: Rethinking best practices
48mReact Remixed
01h 49mPurely Functional Web Apps using React and PureScript
