Closed patikanji closed 4 years ago
Hey @patikanji, useMemo is provided by React as part of the hooks API. You can find out more about it here.
The reason you want to memoize your validation function is so that Fielder can work out whether the validation function has changed or not.
@andyrichardson Thanks. I just come to react world (via NextJS) after years oh PHP. It seems promising to use fielder since I often work with long and complex forms.
No worries @patikanji :+1:
Definitely check out the official docs for React, they're a really strong source!
As for Fielder, here are some examples and a tutorial video to help you get started.
Sure @andyrichardson. I'm reading the doc right now after watching your video in my Flipboard feeds.
There is no mention in the guides, but exists in sample codes.