---
title: "Comment by Mohamed Moulay on \"5 Pro Tips That Will Make You a Better React Developer\" | Hashnode"
description: "Thanks for the useful article but I just have a note about your second tip about forms, in most cases we have to know the input of the user while he is typing i"
url: "https://hashnode.com/posts/5-pro-tips-for-react-developers/6328a012195e7dc741da60eb/comment/6328f42899624fc71cd52c69"
---

[Discussion](https://hashnode.com/posts/5-pro-tips-for-react-developers/6328a012195e7dc741da60eb)

Comment [5 Pro Tips That Will Make You a Better React Developer](https://hashnode.com/posts/5-pro-tips-for-react-developers/6328a012195e7dc741da60eb)

[Mohamed Moulay](https://hashnode.com/@Mly)

[Sep 19, 2022](https://hashnode.com/posts/5-pro-tips-for-react-developers/6328a012195e7dc741da60eb/comment/6328f42899624fc71cd52c69)

Thanks for the useful article but I just have a note about your second tip about forms, in most cases we have to know the input of the user while he is typing in order to give him instant feedback about his input .

So we have to use the first method

[Usman Sabuwala](https://hashnode.com/@usmanwrites)

[Sep 19, 2022](https://hashnode.com/posts/5-pro-tips-for-react-developers/6328a012195e7dc741da60eb/comment/6328f42899624fc71cd52c69#reply-6328f78c195e7dc741da689c)

Yes we do have to give instant response to the user in some cases. But if it's a simple form with super basic values (like a login, signup or download page), it's better to use the `FormData` method so that we don't have to handle a ton of state.

Or better yet, we can also use some form Library like `formik` or `react-hook-form`

[Mohamed Moulay](https://hashnode.com/@Mly)

[Sep 19, 2022](https://hashnode.com/posts/5-pro-tips-for-react-developers/6328a012195e7dc741da60eb/comment/6328f42899624fc71cd52c69#reply-6328f84b99624fc71cd52c9a)

Yes I totally agree with you , or even in this simple case we can use the useRef hook as an alternative also.

[Usman Sabuwala](https://hashnode.com/@usmanwrites)

[Sep 20, 2022](https://hashnode.com/posts/5-pro-tips-for-react-developers/6328a012195e7dc741da60eb/comment/6328f42899624fc71cd52c69#reply-63294412195e7dc741da6ea1)

[Mohamed Moulay](https://hashnode.com/@Mly) Yep that works too!
