Workshop: Introduction to ReasonReact
Details
You developed a React application. You are familiar with React's functional principles. You adopted Typescript to make your apps more robust and with better developer experience. So what to learn next? Try Reason! You can use familiar React syntax but with all the type-safety and functional language features of Reason/OCaml. Reason compiles into readable Javascript that can work alongside your current Typescript/Javascript code.
This meetup will consist of two parts:
- short talk about Reason and
- the workshop itself
Have your laptops ready for some coding if you want or you can pair with someone else. We will split into teams and each team will have someone (a mentor) with Reason knowledge to guide you.
NO PRIOR REASON KNOWLEDGE IS REQUIRED
And even if you won't like Reason, you may still learn some new things that you can then take and bring back to your Typescript/React world.
In this workshop you will learn:
- Basic syntax and features of Reason and ReasonReact
- Use ReasonReact to build a simple React application
- Use GraphQL with Reason to create a type-safe application
- How to use Javascript code from within your Reason code
- How to use your Reason code from within your current Javascript/Typescript code (and auto-generate Flow or Typescript type definitions)
With this knowledge, you should be able to write your own Reason app or use Reason in your current application.
Huge thanks to Price f(x) for hosting this event!
