09 Select the correct statements regarding hooks from the below options. a) Hooks can be used to share state between com

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

09 Select the correct statements regarding hooks from the below options. a) Hooks can be used to share state between com

Post by answerhappygod »

09 Select The Correct Statements Regarding Hooks From The Below Options A Hooks Can Be Used To Share State Between Com 1
09 Select The Correct Statements Regarding Hooks From The Below Options A Hooks Can Be Used To Share State Between Com 1 (121.63 KiB) Viewed 54 times
React js questions...
09 Select the correct statements regarding hooks from the below options. a) Hooks can be used to share state between components b) Hooks can be used to share state changing logic between components c) Hooks enable state management and life cycle management in functional components d) All the above Q10 Match the following: useRef returns a mutable object useReducer accepts state and action as arguments useCallback caches the provided function useMemo caches the provided function result Q11. Identify the properties of NavLink /> component: (multiple select) a) exact b) activeStyle c) activeClassName d) to Q12. Which of the below options is the correct way of writing inline styles for highlighting the active link, using <NavLink /> component? a) activeClassName={active} b) activeStyle={{ background:'white', color: black' }} c) activeClassName="active" d) style={{background:'white', color: black"}} Q13 Consider the below Route configuration:(Assume all the required imports are done) <Switch> <Route path='/ component={Home} > <Route path="/about' component={About} > <Route path="/contact' component={ContactUs} /> <Route path="/view' component={ViewDetails} > <Route path="*" component={NotFound} /> </Switch> Which component will be rendered for the URL http://localhost:3000/view a) View Details b) Both View Details & NotFound component c) None of the component will be rendered d) Home component
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply