.
Unanswered
Baldfaced hornet posted this in #help-forum
Original message was deleted.
8 Replies
You cannot use API features with static export.
Supported Features -
Dynamic Routes when using getStaticPaths
Prefetching with next/link
Preloading JavaScript
Dynamic Imports
Any styling options (e.g. CSS Modules, styled-jsx)
Client-side data fetching
getStaticProps
getStaticPathsoh, that's the pages link, app dir is similar but server components get rendered on build
oh wait, route handlers are supported in static builds, I didn't notice that before 😂
wdym it's returning a file?