Комментарии:
Man, This is the most underrated channel I have ever seen. Cool contents
ОтветитьFor props I prefer types over interface and do not export it unless I really need it. If the type is not exported it is fine to define type Props instead of type SomeSpecificProps
Ответитьmy preferences, all filename usin "-", i like about-us.tsx. because nextjs using "-" based for pages filename. and easy to read too. but each component, will be PascalCase.
Ответитьwhat color theme do you use in vscode?
ОтветитьReally helpful.
Good luck
Why do you use an assets and a public folder? How do you decide to put the assets in one or the other folder?
ОтветитьHey there! Could you please provide a video explaining how to write better services? Currently, I create hooks for different types of API calls (such as UseOrders to get, edit, delete, and add orders). However, I feel that this approach might be flawed. Additionally, I would like to know how to handle filters effectively. I have multiple filters that can be active at different or the same times, like "?search=gold&status=delivered" or "?search=gold". What would be the best way to handle these filters dynamically? Please check the grammar and spelling of this paragraph.
ОтветитьI like your videos
Ответить