Type of Web (@pl_typeofweb) header
Type of Web (@pl_typeofweb) profile picture

Blog o frontendzie i backendzie. JavaScript, TypeScript, programowanie funkcyjne. Szkolenia.

Gdansk, Poland
Joined April 2016
Type of Web retweeted
Nice lineup! Congrats @MMiszy and @zaiste 👏
Welcome another speaker on #KongresNextJS conference: @thekitze 🚀 Kitze loves to rant about webdev! During his presentation, he'll share his journey as the founder of Sizzy, from an open-source project to a paid product 🔥 #nextjs #reactjs #opensource kongresnextjs.pl
2
3
626
Day 24 of #100DaysOfCode & #Hacktoberfest Today I was looking into @getsaleor and it's @nextjs Storefront. Hopefully I can contribute to this nice project during #Hacktoberfest2023 It needs some SEO optimization:
3
2
10
582
Storefront Example from @getsaleor is almost ready for Next.js 14 🎉
4
9
916
Type of Web retweeted
Can someone show me a an HTML form that uses the browser’s native validation APIs and: 1. Has custom styles for the native error messages so they look the same across browsers 2. Displays an error summary at the top of the form, or focuses the invalid field on submit 3. Runs validation logic on each keystroke so the error disappears the moment an invalid field is fixed 4. Handles logic chaining (if this field has value x, this other field is required and must have value y or z) Anyone have a working example?
47
6
5
296
138,626
Type of Web retweeted
CEOs: one best practice to get advice ("how do I do X?") is to reach out to other founders CEOs whose company is 1-2 stages ahead of you, in a similar space, but non-competitive. You'll be pleasantly surprised about how open they are to helping you. As @martin_c_mao from @chronosphereio puts it in @GergelyOrosz's newsletter: "I never realized how most founders and CEOs give a lot more time than you would expect. For example, one CEO in particular, from a publicly traded infrastructure company, has helped me out no end. If I text this CEO about something, he’ll make time to help and offer support, even though I know how busy he is. I notice that most such CEOs are really protective of their time, yet they’re still willing to carve out time for other founders. This makes me want to pay it forward as well, and help earlier-stage founders too."
17
43
10
384
243,000
Future CSS Tip! 🚀 You can create auto-resizing text inputs with one line of CSS 🤯 textarea { form-sizing: content; 👈 That's it! } The size of your input will grow to fit your content. If you want to constrain the size, do something like this: textarea { form-sizing: content; min-height: 2lh; max-height: 10lh; } This one's awesome. Think about how much effort it will save you 🙌 No more JavaScript to sync a textarea height to fit the content 🔥 Perfect for chat interfaces, messaging, comments, etc. 📢 @CodePen link below! 👇
50
466
37
3,677
710,314
Type of Web retweeted
Bun is stable* *definition of stable was provided by Next.js team
21
39
7
1,022
141,747
Type of Web retweeted
Bun is exciting. But Bun’s “all-in-one”approach has many risks and downsides: 🚫 Bun will often lag behind changes to the separate tools it replaces. When JS tools innovate, will Bun be able to quickly support something similar? 🚫 If it’s buggy or insufficient, Bun is harder to replace than separate tools. 🚫 Can I still mix and match tools to select a “best-of-breed” stack? 🚫 Higher risk - The tool chain is reliant on one team instead of many. What if Bun’s small team burns out or runs out of funding? Replacing Bun quickly may be hard. 🚫 Lack of ecosystem. Will cloud providers support Bun? Will a community form around Bun to provide extensions and support? Are the docs sufficient? 🚫 Will Bun honor JS standards or seek to “extend and extinguish”? The latter is a common approach that makes products sticky, but also breaks compatibility. Bun already has some non-standard behaviors. 🚫 Can one small team support something this complex long term? To be clear, I’m rooting for Bun. But what they’re trying to accomplish is hard and risky. Will it work?
70
57
21
703
209,859
Last night I was watching a conference talk called how to make accessible react components and the first piece of advice was to use aria roles like this <div role=button>click</div> 😭 Please don’t do this.
36
36
14
402
230,513
Type of Web retweeted
There have been zero commits to the Gatsby repo in the last 24 days.
62
27
33
572
288,022
Tailwind is the only maintainable way to style websites. 🤷‍♂️
181
189
76
1,986
379,961
Server Actions in Next.js 13
33
159
15
1,219
230,816
Type of Web retweeted
What’s worse than a person you hate being right? Them being funny
17
4
194
34,440
Every boolean method parameter is an enum hiding in disguise.
27
19
2
170
66,021
Type of Web retweeted
Vercel has a track record of building things devs love. I’d rather they control React than * checks notes * Facebook
This post is from an account that no longer exists. Learn more
18
3
3
160
89,187
Anyone interested in a tutorial on how to build a Next.js e-commerce storefront from scratch? The Stack: - @nextjs 13 with React Server Components / App Router style - @tailwindcss + @shadcn UI - GraphQL API by @getsaleor - Auth with Passkey by @passageidentity from @1Password - (optionally) @vercel integration with @upstash and/or @neondatabase I'm thinking a step-by-step tutorial how to do it... It won't be production-grade, but could provide interesting insights. Early Alpha Sneak Peek Design taken verbatim from Music example by shadcn UI :)
29
32
397
65,129
What is the ellipsis in the title supposed to mean? Is there anything wrong with the fact the CEO lives in Czechia? @TechCrunch techcrunch.com/2023/03/31/gr…
1
3
404
🎉 💰 I earned $100,000 last year selling my @nextjs programming course! 🧵👇
3
3
24
3,643
1/2 Safari 16.4 is focusing on AVIF support, and so is Saleor 3.12. The next release of Saleor will support AVIF uploads and allow you to generate AVIF images from any source image. #opensource #composable #commerce
1
4
14
1,463