Page 1 of 1

Q10 Match the following: useRef returns a mutable object useReducer accepts state and action as arguments useCallback ca

Posted: Fri May 20, 2022 9:55 am
by answerhappygod
Q10 Match The Following Useref Returns A Mutable Object Usereducer Accepts State And Action As Arguments Usecallback Ca 1
Q10 Match The Following Useref Returns A Mutable Object Usereducer Accepts State And Action As Arguments Usecallback Ca 1 (117.51 KiB) Viewed 26 times
React Js Question
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={View Details} /> <Route path="*" component={NotFound} /> </Switch> Which component will be rendered for the URL http://localhost:3000/view a) ViewDetails b) Both View Details & NotFound component c) None of the component will be rendered d) Home component