RossLO
RossLO
Question: - Should we build a tool/ script to find the use of an Aries component with a given property? Concern: - Aries component wrapped by `styled` is not trackable...
請問能夠提供示範的案例嗎? 我們項目的結構如下: ``` └── routes ├── layout.tsx ├── layout.data.tsx └── home └── page.tsx └── page.data.tsx ``` 我理解,基於上述結構 "/en/home" 會是被定向到 404 想請教我該如何使用 您上述提到的 "data loader + redirect API",實現 "/en/home" 能夠渲染 `/routes/home/page.tsx`...
Hi @leosvelperez , may I kindly inquire if there has been any progress on this issue?
@zllkjc 感謝回覆。 的確我們的服務端請求和客戶端請求是同構的,所以也不會牽涉到 tree shaking。 因此我們期望的解法對我們來說在開發體驗上更為方便,希望 modernjs 能夠考慮支持。 可以理解我們是正在將 Next.JS 的 `getInitialProps` 遷移成 modern.js 的 `page.data.ts`