Is getServerSideProps and getStaticProps the same thing?

24. Is getServerSideProps and getStaticProps the same thing?

  1. Yes
  2. No

Answer: B) NO

Explanation:

The difference is that getServerSideProps is run on every request instead of on build time.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.