讀Next.js文件

貼一些讀文件的備註心得。

Rendering: Server Components | Next.js

Data Fetching: Server Components allow you to move data fetching to the server, closer to your data source. This can improve performance by reducing time it takes to fetch data needed for rendering, and the number of requests the client needs to make.

要跟DB要資料…當然是離DB越近越好⊙o⊙

Security: Server Components allow you to keep sensitive data and logic on the server, such as tokens and API keys, without the risk of exposing them to the client.

就像是保險箱一樣…機密的資料放在server更好。

Next.js搭配的DatePicker

DatePicker | NextUI – Beautiful, fast and modern React UI Library
雖然第一個搜會搜到它,可是可以客製化的選項不多,
有可能是出來不久的關係,去它的dc問也沒有人回,實在是能看不能用啊〓〓

Flowbite – Build websites even faster with components on top of Tailwind CSS
好像有很多東西功能還是要自己刻

DatePicker – React Suite
目前最中意這個,還可以選時分秒