The photo is my lunch in someday

Life

My first time use Tuhou App for car maintenance. change engine oil, change filter element and change brake light, repair gearbox leak and engine leak. total spend RMB 700.

Technology

Copilot-GPT4

deploy a copilot to GPT4 service, and hack Taobao copilot application principles. I change some code

GitHub - aaamoon/copilot-gpt4-service: Convert Github Copilot to ChatGPT

Screenshot 2024-01-12 at 02.34.15.png

Screenshot 2024-01-12 at 02.36.33.png

useEffect

Finally, I decide remove useEffect, This code is so terrible.

Screenshot 2024-01-17 at 21.47.33.png

Replace React to Solid? Or change useXXX ? The first of all, Use Solid need so many time. I try use useXXX

The result is very well, replaced useXXX, use useSyncExternalStore notify message. Code is improve, total line is less. logic layer and UI layer is detach