@@vlad.nicula mostly using MUI and React Hook Form together, but still trying to get a way to create an auto-complete address field with data from the Google Places API to work.
you're right! values behave very strangely: codesandbox.io/s/awesome-forest-15wwqg?file=/src/App.tsx The use memo mention was adapted from the older approach I had where props were passed to the form and there was a useEffect that depended on the values. I assumed there was a similar approach with the values, but it seems it works even with nested objets. The only way this breaks is if you change any of the values. If just one value changes, all values change, so yeah, a useMemo does not protect us in that case because even with a useMemo, there would be a new object created because of the new value. I'm glad I learned something too form sharing this video. I hope you'll tag along for the next ones and point out what you see missing or wrong.
@@vlad.nicula my bad, I forgot to alias mui checkbox component so I was recursively re rendering the same component. All working now, thanks bro! Great tutorial. Keep up the great work
Thank you so much!
Concise & informative 🎉
Subscribed, I really need more about react hook form. Thanks a lot
I’ll make a multi part form video next, thanks for the support!
the best. Thanks man!! Looking forward to next section.
thank you for the feedback! what’s one thing you learned from the video?
Really awesome content Vladut, keep em' comming
Thank you 🙏
Very nice explanation, you make it look easy! Looking forward for the next videos in the series
Thank you so much for the feedback 👍
@@vlad.nicula 🙂
good
Another great video with excellent explanation.
Thanks! I’m making the PR for the resources page this week, I didn’t forget 👍☺️
This indeed helps A LOT! Thanks!
my pleasure, thanks for the feedback. what is one thing you learned from this video?
@@vlad.nicula mostly using MUI and React Hook Form together, but still trying to get a way to create an auto-complete address field with data from the Google Places API to work.
@@codernerd7076 I’ll cover autocompletes in about 7-14 days from now, I hope it wont be too late 😊
@@vlad.nicula thanks!
thank you sir
glad it helped 👍
Great video. However, I can argue that the demonstration of useMemo is useless in this case
Thanks for the feedback. Care to explain why the useMemo was useless?
you're right! values behave very strangely: codesandbox.io/s/awesome-forest-15wwqg?file=/src/App.tsx
The use memo mention was adapted from the older approach I had where props were passed to the form and there was a useEffect that depended on the values. I assumed there was a similar approach with the values, but it seems it works even with nested objets.
The only way this breaks is if you change any of the values. If just one value changes, all values change, so yeah, a useMemo does not protect us in that case because even with a useMemo, there would be a new object created because of the new value.
I'm glad I learned something too form sharing this video. I hope you'll tag along for the next ones and point out what you see missing or wrong.
I'm getting infinite loading when trying to add this to a form
Sorry to hear that 😞 not sure what you are referring to, but I hope you figure it out 👍
@@vlad.nicula my bad, I forgot to alias mui checkbox component so I was recursively re rendering the same component. All working now, thanks bro! Great tutorial. Keep up the great work
@@raymondcaddick6208 happy to hear that! I hope you’ll tag along for the next ones 👍
Promo-SM 🎊
what’s that?