Joined November 2021
24 Photos and videos
Testing out sending app logs to a private Telegram channel with #Laravel It was pretty simple to setup and no additional dependencies. Now I can send notifications to myself organized into different channels, all for free.
1
70
Just use Go and rawdog inline Java<script></script> Hassle free updates forever
56
Go & Gomponents HTMX Tailwind is a nice frontend stack. The main benefits are its: - low maintenance. - resource efficiency. - fast SSR. Get indexed on search engines asap. It's perfect for forum-like web sites with many dynamic pages.
2
86
The more I think about @htmx_org the more I feel stupid for complicating the frontend for no reason... #HTMX is a sane approach to Javascript.
1
78
BoilingSoup retweeted
Updated all articles in my blog to be up to date with the latest v5 release of TanStack Query. Enjoy ๐ŸŽ‰ tkdodo.eu/blog
14
21
360
24,945
BoilingSoup retweeted
14 Oct 2023
โ€œNative apps are bad because of the App Store and google play. You should just make a PWA.โ€ Tell me you donโ€™t understand users without telling me you donโ€™t understand users.
7
4
60
45,324
I wasn't a fan of using JSON columns in SQL databases. You lose the ability to use foreign keys to enforce consistency. But sometimes, the data you're modeling is flexible. And the flexible data might need to be ordered as well! This is where JSON columns have been great ๐Ÿ‘
1
1
126
And since I didn't go full nosql, I can still do common SQL queries on the table. Select all titles, description by user_id? No problem. #Postgres even has a syntax to express queries WITHIN the json. Personally haven't used this as I'm scared to, but hey, it's there. ๐Ÿ˜„
1
72
BoilingSoup retweeted
S tier project
1
1
3
2,054
Unpopular opinion: - vim is easy, tmux requires a phd.
54
I love #React Query by @tannerlinsley but some of its methods can be confusing! I made a diagram to help decide when to use these methods: โ€ข invalidateQueries โ€ข refetchQueries โ€ข resetQueries โ€ข removeQueries
2
11
3,161
As @TkDodo clarified, sometimes ๐—ถ๐—ป๐˜ƒ๐—ฎ๐—น๐—ถ๐—ฑ๐—ฎ๐˜๐—ฒ๐—ค๐˜‚๐—ฒ๐—ฟ๐—ถ๐—ฒ๐˜€ & ๐—ฟ๐—ฒ๐˜€๐—ฒ๐˜๐—ค๐˜‚๐—ฒ๐—ฟ๐—ถ๐—ฒ๐˜€ can trigger a refetch, but the query must be actively mounted for that to happen. ๐—ฟ๐—ฒ๐—ณ๐—ฒ๐˜๐—ฐ๐—ต๐—ค๐˜‚๐—ฒ๐—ฟ๐—ถ๐—ฒ๐˜€ will trigger a refetch regardless
1
1
74
For me, boiling it down to a decision of: ๐—ฟ๐—ฒ๐—ณ๐—ฒ๐˜๐—ฐ๐—ต๐—ค๐˜‚๐—ฒ๐—ฟ๐—ถ๐—ฒ๐˜€ vs ๐—ฟ๐—ฒ๐˜€๐—ฒ๐˜๐—ค๐˜‚๐—ฒ๐—ฟ๐—ถ๐—ฒ๐˜€ ๐—ฟ๐—ฒ๐—ณ๐—ฒ๐˜๐—ฐ๐—ต๐—ค๐˜‚๐—ฒ๐—ฟ๐—ถ๐—ฒ๐˜€ This will cover a vast majority of use cases and has helped me understand the API surface. Hope it helps you too ๐Ÿ˜ƒ Thanks to Dom for chiming in ๐Ÿ’ฏ
1
70
1 simple trick to hover over components and go directly to the node in react dev tools. But I agree it is overwhelming to look at.
fine let's use the react devtools and find the component i'm looking f- nvm
57
Why is #React forwardRef's generic type: <Element, Props> but the order of parameters is (props, ref) ??? I find this confusing. Was there any good reason for this? cc @mattpocockuk
1
44
You rust people should rewrite @PrettierCode in rust. The lag for Format on Save in #typescript files is kiling me.
1
1
67
Worst part about typescript and 3rd party libraries is that "Go to Definition" takes you to the type definition file instead of the implementation.
1
61