Tuấn Đặng retweeted
❌ Avoid Provider wrapping hell in React.
✅ Instead combine all your Providers using composition.
Tuấn Đặng retweeted
🍀 Nhiều dự án hiện tại theo mình đang định giá ổn, nếu không muốn nói là khá rẻ. $SEI là một ví dụ
Mình đã bỏ suy nghĩ cash bớt lãi mấy dự án long-term, sau khi cash bớt lãi từ tweet tháng 11, mình đã phải vội mua lại. Từ đó đến nay lãi hơn 50% cho $SEI.
Mới hôm qua dump, hôm nay đã bật lên gần 50%. Muốn biết dự án có lực hay không, hãy nhìn vào mấy khúc dump như này. Còn về nội tại của $SEI, mình đã shill cho anh em nhiều rồi.
$SEI V2 đang audit, V2 là một bước cải tiến khá lớn khi bây giờ $SEI sẽ xử lý các giao dịch 1 cách song song, từ đó giúp giao dịch được đẩy nhanh hơn. V2 dự kiến Testnet vào Q1.2024 và mainnet đâu đó vào giữa năm 2024. Timing khá hoàn hảo đấy, nếu mọi thứ ổn, khoảng Q4.2024 sẽ là thời điểm Sei lỏ lên mặt trăng 😎
Ngoài ra, mình đang thấy hệ sinh thái xoay quanh $SEI dần hình thành, từ những buổi Space mình nghe, dự án đang hỗ trợ nhiệt tình cho các mảnh ghép về #RWA, #LSD, #AI. Đội ngũ dự án đang muốn tích hợp những gì tốt nhất có trên #Solana và #Ethereum.
Nói chung là với Portfolio dài hạn, mình chỉ shill hàng ngon cho anh em. Với $SEI lỏ, mình shill nó gần như rất sớm, shill lúc cả thế giới đang chửi dự án sml 😅 Ôm mấy con này cho yên tâm ngủ ngon, 2024 còn nhiều hàng ngon đang chờ 🫡
Tuấn Đặng retweeted
🍀 Mình thấy nhiều anh em đang đợi sales off dịp cuối năm. Tây lông với Noel và Châu Á với tết truyền thống. Nhưng cái này hên xui lắm.
Mọi người check lại market các năm về trước xem, chỉ có mùa cuối năm 2021 là market sales off, nguyên nhân chính là do cuối #bull market.
Còn lại gần như các năm, từ 2018 đến giờ, thị trường rất ít biến động, nếu có thì sẽ trong đợt tăng giá, đặc biệt là $BTC. Tầm này mình thấy nhiều bạn #DCA theo tháng vậy mà hay, cứ #DCA và chờ panic sell. Nếu có panic sell, altcoin crash thì sẽ đi xuống luôn 1 cục tiền lớn, khỏi phải nghĩ.
Còn anh em nào đã có vị thế thì cứ hold chặt tay, tầm này mà tay nhanh hơn não là năm sau phải mua đuổi đấy, thốn lắm. Mua gì thì mình đã share hết cho mọi người rồi.
$LINK
$FET
$PEPE
$TIA
$SEI
$LDO
$LBR
$PAAL
Tuấn Đặng retweeted
🍀 V2 của $LBR rất gì và này nọ đấy anh em, dự kiến burn 1.2M $LBR mỗi năm ( ~ 10% cung lưu thông hiện tại). Mình sell the news con này ngày ra tin V2, tới nay chưa vào lại do market nói chung khá xấu, nhưng đường dài dự án vẫn ok đó.
teapawt.org/LybraFinance/status/17…
Tuấn Đặng retweeted
❌ Avoid difficult-to-read conditionals to render elements in react.
✅ Instead use utility components for conditional rendering.
Tuấn Đặng retweeted
🎉 Just published a very detailed article about Docker and Laravel.
It contains everything you need to know about Dockerizing:
- Laravel API
- Vue SPA
- Worker
- Scheduler
Check it out if you're interested in Docker:
Tuấn Đặng retweeted
🔥 Just launched: a new GitHub repo with all my Flutter tips & tricks! 🔥
It’s 100% free and I’ll keep adding new tips! 🚀
Go check it out. 👇
And if you find it useful, like and share this tweet so that others can learn too! 🙏
github.com/bizz84/flutter-ti…
Tuấn Đặng retweeted
depends on what handling it differently means. I've had a good experience with the global callbacks + the meta field:
teapawt.org/TkDodo/status/16474930…
Replying to @songil
you can use your useVouchers() hook multiple times, in different components though ?
One trick is to set the `meta` field to contain the message that you want, and let the global handler pick that up:
![const queryClient = new QueryClient({ queryCache: new QueryCache({ onSuccess: (data, query) => { if (query.meta.message) { showSuccessToast(query.meta.message) } } }) }) export function useVouchers() { return useQuery({ queryKey: ['vouchers'], queryFn: fetchVouchers, meta: { message: 'Successfully fetched vouchers', }, }); }](https://pbs.twimg.com/media/Ft0R-nIWAAEbPUK.jpg?name=small&format=webp)
ALT const queryClient = new QueryClient({ queryCache: new QueryCache({ onSuccess: (data, query) => { if (query.meta.message) { showSuccessToast(query.meta.message) } } }) }) export function useVouchers() { return useQuery({ queryKey: ['vouchers'], queryFn: fetchVouchers, meta: { message: 'Successfully fetched vouchers', }, }); }
Tuấn Đặng retweeted
Uniswap mobile wallet is written 100% in React Native and is Open Source: github.com/Uniswap/wallet. You can install the mobile app today and check how we implemented some of the interactions!
Tuấn Đặng retweeted
Note thêm 2 dự án $AURA và $LIT ngon từ anh dzai
Những nền tảng yield cho các tài sản LSD cũng sẽ được hưởng lợi theo
Anh em stake ETH ở @LidoFinance nhận được stETH, dùng stETH đó đi stake tiếp ở các nền tảng yield này để tối ưu vốn
This post is from a suspended account. Learn more
Tuấn Đặng retweeted
My attempt at a `queryOptions` api. Has the same structure as useQuery, is basically an identity function at runtime, but enables query-factories (like queryKey-factories, just better)
I'm amazed that it also works for invalidateQueries.
Thoughts?
![import { queryOptions } from '@tanstack/react-query' const todoOptions = (id: number ) => queryOptions({ queryKey: ['todos', id] as const, queryFn: ({ queryKey }) => Promise.resolve(queryKey[1]) staleTime: 5 * 1000 }) const { data } = useQuery(todoOptions(1)) queryClient.prefetchQuery(todoOptions(1)) queryClient.invaliateQuery(todoOptions(1))](https://pbs.twimg.com/media/Fpls8eeWYAQiQ-V.jpg?name=small&format=webp)
ALT import { queryOptions } from '@tanstack/react-query' const todoOptions = (id: number ) => queryOptions({ queryKey: ['todos', id] as const, queryFn: ({ queryKey }) => Promise.resolve(queryKey[1]) staleTime: 5 * 1000 }) const { data } = useQuery(todoOptions(1)) queryClient.prefetchQuery(todoOptions(1)) queryClient.invaliateQuery(todoOptions(1))
Tuấn Đặng retweeted
TẤT TẦN TẬT Công Thức, TÚT Kiếm Tiền Bá Đạo Trong Crypto Sẽ Được Update Liên tục trong Comment dưới Tweet này!
Anh em Retweet về trang cá nhân để tiện lưu lại, theo dõi, học tập & thực hành ra tiền luôn nhé!
Thân ái!


































