
Blog o frontendzie i backendzie. JavaScript, TypeScript, programowanie funkcyjne. Szkolenia.
Gdansk, Poland
Joined April 2016
- Tweets513
- Following173
- Followers885
- Likes675
Type of Web retweeted
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
Type of Web retweeted
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:
Type of Web retweeted
Storefront Example from @getsaleor is almost ready for Next.js 14 🎉
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?
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."
Type of Web retweeted
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! 👇
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?
Type of Web retweeted
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.
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
Type of Web retweeted
🔔 Saleor's got its own, brand new auth-sdk! Discover how you can enhance your #ecommerce apps with seamless and secure authentication here: saleor.io/blog/saleor-auth-s…
Type of Web retweeted
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 :)
Type of Web retweeted
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…
Type of Web retweeted
🎉 💰 I earned $100,000 last year selling my @nextjs programming course!
🧵👇
Type of Web retweeted
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





















