純SSG用react query好似有啲overkill

react query強項係async state management,幫你搞caching,處理concurrent requests有可能出現嘅問題等等(可參考呢篇
https://tkdodo.eu/blog/why-you-want-react-query,作者係react query其中一個maintainer)
但SSG只需要喺build time時 (即係行$npm run build嘅時候) fetch data,砌好啲static html page。deploy後,有人入你個網站時server直接serve static page,唔洗call backend api server拎data嚟render page,所以基本上用唔到react query提供嘅功能。。。
如果主要需求係data fetching的話,可能native fetch API/axios/SWC (都係vercel出的library)呢啲都夠用了
