Should you invoke a function in the render such as validateForm? Why or why not? in React Native
Please upvote if you are able to understand this and if there is any query do mention it in the comment section.
No there is no need to invoke a function in render in react native. As render is used to render props to display the application on browsers and is used with react.js. In react native, the View is used to build the user interfaces for the mobile applications and the function is supposed to be invoked in View so that the part of the user interface which is handled by that function can be bought to work with the rest of the application.
If anything else was required in this or something more is required then please mention in the comment section otherwise please upvote.
Get Answers For Free
Most questions answered within 1 hours.