ThΓ nh's Avatar

ThΓ nh

@trangcongthanh.com

Senior Bug Breeder πŸ‘¨β€πŸ’»

10
Followers
24
Following
18
Posts
13.11.2023
Joined
Posts Following

Latest posts by ThΓ nh @trangcongthanh.com

It should be 1 in 1.

15.07.2025 03:37 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Oh yes! So my projects gonna 100% react-query coverage soon 🀞

20.03.2025 03:20 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I need to start a "simple" React app. It's a static content landing page with a contact form. User submission need to do some check and write to Google Spreadsheet. It also need to call Telegram API to notify a sale (and referer) to follow up.
So in 2025, ViteJS or NextJS?

18.02.2025 08:23 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

Someone has already opened an issue on Vercel. github.com/vercel/next....

But it can reproduce with blank nextjs without payloadcms. github.com/trangcongtha...

05.01.2025 14:52 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

Raycast alias is so good. I'm changing my terminal from wezterm to ghostty. But my muscle memory keep open wezterm πŸ₯Ή Then I set alias for ghostty to "terminal" and use it from now on πŸ’ͺ

04.01.2025 03:39 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

@leerob.com I really want to migrate from unstable_cache to "use cache". But I can't build my project if it includes this snippet. I tried adding the connection as suggested by the console, but I still can't build it 😒

04.01.2025 03:25 πŸ‘ 3 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

I'm using iCloud custom email. 5 free emails for each domain πŸ˜„

26.12.2024 16:54 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Ah yes! Nothing can beat vim/neovim in server πŸ’ͺ And beware that you gonna addict to vim motion soon. After that, changing editor/IDE will be touch πŸ₯Ή

21.12.2024 10:01 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

It'll not fun anymore when you down to config lsp and other tools 🀣 I'm moving on and giving Zed a try today.

21.12.2024 09:53 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

To reduce your bundle size. The bundler will only include the code you need rather than the entire React.

18.12.2024 11:05 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Firefox with compact theme. It's look like Safari.

Firefox with compact theme. It's look like Safari.

Firefox but Safari 🀣

After looking for uBlock Origin alternative (Because it soon no longer worked on Chrome), I saw everyone recommended switch to Firefox and keep using uBO. And I give it a try. With compact theme, I'm happy to use it as my main browser for now.

09.12.2024 11:20 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Just edit your team name and it'll display correctly. I think when they migrated data to team feature, their script did not support utf-8 characters.

06.12.2024 09:49 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Over my last 8 years, CSR only. Even some features should be use SSR, our team still do CSR.
So I always keep an eye on Tanstack Start because of "Client-Side First, 100% Server Capable" πŸ₯³

03.12.2024 03:30 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Black Friday this year is hard πŸ₯Ή BoltAI 60% vs Affinity 50% off are killing me. Want both but my wallet only allow one.

28.11.2024 12:17 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
// βœ… Do
import { } from 'react'
import * as React from 'react'

// ❌ Don't
import React from 'react'

// βœ… Do import { } from 'react' import * as React from 'react' // ❌ Don't import React from 'react'

I think it's team preferences. Only import React from 'react' should be avoided.

26.11.2024 14:30 πŸ‘ 1 πŸ” 0 πŸ’¬ 2 πŸ“Œ 0

Both ```import { } from 'react'``` and ```import * as React from 'react'``` are valid options. Only ```import React from 'react'``` should be avoided.

26.11.2024 14:27 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Week after on πŸ¦‹, my feed:
- No US politic posts
- No weird Arabic ads (I don't even know that language) 🀷
- No stupid scam coin ads
- No 18+ pictures/videos πŸ€”
- ONLY and only tech related stuffs πŸ₯Ή

I also took some code from bsky repo 🀣

#makeblueskyworktogether

26.11.2024 14:23 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Im wondering how other FE devs can use Safari as their main browser πŸ€” Someone said to me β€œJust use standard stuffs and you good to go”. But Safari just bite me in ass because Im using css grayscale for html elements inside svg foreignObject πŸ™ƒ

22.11.2024 06:51 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0