can some shares examples of react hook…how to use react hook , how to read data from another data.js file and lots of others scanerio.please
With regards to “react hook”, there are many different kinds. When in doubt, start with the documentation. There are a lot of web pages and videos explaining how to use them.
With regards to “how to read data from another data.js”, I assume that you mean to include code from one JS file into another. Depending on how your bundling, that could be using the keyword
require. If you’re doing React, then “create-react-app” is a good way to build a basic app to start that will have that all set up.
I’m not sure how to help with “and lots of others scanerio”. That is too broad of a category to do anything with.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.