-
If I use graphQL for instance inside the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
The code used for This allows you to use Node.js-specific packages, like |
Beta Was this translation helpful? Give feedback.
The code used for
getStaticProps
/getStaticPaths
is always eliminated from the client-side JavaScript files—even in Preview Mode.This allows you to use Node.js-specific packages, like
fs
or a direct call to a database, without worrying about client-side size or compatibility.