We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在 LLM Result Page 更改回報後,更新 LLM Result Page 上的 PoiList Data
建立一個 refetchFlag 在 redux ,並在送出 edit 時,更動它。 在 LLM Result Page 用 useEffect 聽 refetchFlag ,當 refetchFlag 有變動時,讓 LLM Result 重新 fetchData
當在 LLM result page 更新 Pois 時,回到 LLM result Page 時 Recommend Pois 資料有機會不會更新
research-llm
The text was updated successfully, but these errors were encountered:
Link: https://smartcampus-research-llm.web.app/
Sorry, something went wrong.
linyc0817
y-c-wang
No branches or pull requests
目標
在 LLM Result Page 更改回報後,更新 LLM Result Page 上的 PoiList Data
作法
建立一個 refetchFlag 在 redux ,並在送出 edit 時,更動它。
在 LLM Result Page 用 useEffect 聽 refetchFlag ,當 refetchFlag 有變動時,讓 LLM Result 重新 fetchData
Bugs
當在 LLM result page 更新 Pois 時,回到 LLM result Page 時 Recommend Pois 資料有機會不會更新
但又有時可以成功所以怪怪的!然後 RTK 貌似沒有提供 forceRefetch 的功能
測試 Process
測試 Process 0812
Bugs 影片
research-llm
https://drive.google.com/file/d/1JVIOAOF3nNOAyYnaQFzq7_bHDi148UlR/view?usp=sharing
The text was updated successfully, but these errors were encountered: