Category – tutorial
15 posts tagged with "tutorial" (See all categories)

LLearning ReasonReact Step by Step Part: 9

10/13/20192 Min Read — In Reason, tutorial

In the last post , we finally finished the custom useForm hook. You can see the code on GitHub . Use The Custom Hook Let's switch to our main form component: scr/Form.re . We need to connect…

LLearning ReasonReact Step by Step Part: 8

10/10/20192 Min Read — In Reason, tutorial

We set up our form validation rules, tackled state management and most of the logic . Now, we have to hook up our validation logic with the form. Each time a user types into the form, we want to…

LLearning ReasonReact Step by Step Part: 7

10/06/20194 Min Read — In Reason, tutorial

What We've Done So Far We've laid the groundwork for adding form validation to our app . We defined our types; we have a simple form and a functioning useForm custom hook in a separate module…

LLearning ReasonReact Step by Step Part: 6

10/05/20193 Min Read — In Reason, tutorial

What We've Done So Far So far, we've created a simple ReasonReact form with a custom useForm hook and client-side routing. The custom hook uses a useReducer to handle state and transitions. The…

LLearning ReasonReact Step by Step Part: 5

09/18/20191 Min Read — In Reason, tutorial

Our reusable Form component works, but we don't have any routing. How can we navigate to our two forms (register and login)? Enter ReasonReact Router It's a breeze to set up the inbuilt ReasonReact…

LLearning ReasonReact Step by Step Part: 4

09/17/20193 Min Read — In Reason, tutorial

So far, we've created a simple form component with a useReducer hook . This form works with an email and a password - it could be a login form. But what if we would like to use the same logic to…

LLearning ReasonReact Step by Step Part: 3

09/16/20193 Min Read — In Reason, tutorial

In my last post I tried to create a custom hook function for React forms . That didn't work as I expected. Some kind folks helped me out and gave me some suggestions . Let's pivot and try something…

LLearning ReasonReact Step by Step Part: 0

09/12/20191 Min Read — In Reason, tutorial

My goal is to learn more in public , so that it also may help others. I've given ReasonReact a first try. I've read a bit of the documentation, took a peek into Exploring ReasonML , and found some…