Home »
MCQs »
Next.js MCQs
Which of the following method is used to get data and deliver it as page props so that the page may render based on the props given?
13. Which of the following method is used to get data and deliver it as page props so that the page may render based on the props given?
- Getprops
- Getstatic
- Getdynamicprops
- getStaticProps
Answer: D) getStaticProps
Explanation:
getStaticProps method is used to get data and deliver it as page props so that the page may render based on the props given.