Next.js, positioned as a React framework for the enterprise, is available in a new version that emphasizes static site generation. The update, Next.js 9.3, was released on March 9.
Next.js 9.3 includes API additions that provide built-in, optimized static site generation through new data-fetching methods. These methods include `getStaticProps`
, which is used to fetch data at build time and specify dynamic routes to pre-render based on data, and `getServerSideProps`
, which fetches data on each request.
from InfoWorld https://ift.tt/2wQxf2T
No comments:
Post a Comment
hello friends how are you????????????