
Fullstack Engineer | I share tips on React, TypeScript, Node.js, CSS, HTML, and software architecture | Digital Nomad, currently in Brasil
Poland, Warsaw (remote work)
Joined July 2022
- Tweets1.1K
- Following157
- Followers169
- Likes1.8K
Pinned Tweet
Wow, 100 awesome people decided to follow me!
I am Rafal and I tweet about:
🌍 Web development (Front-end)
💻 Engineering productivity
✈️ Digital nomad lifestyle
Nice to meet you all!
Drop 👋 and let’s connect and grow together!
8
22
1,845
Testing the new gpt-image-1.5 and internal video thumbnail generator. Good, but the square sometimes crops a little too much
22
Did anyone notice, that when using any LLM for code optimization (performance) - they just ALWAYS have something to improve? They are never like „this UI is perfect, no need to change anything”
26
When using LLMs and your goal is to create a large document (like an e-book), do you prefer prompt chaining or different techniques such as few-shot prompting (long prompt with examples)
Or is there a better strategy? Thoughts?
38
💡Did you notice that Chrome is downgrading your webcam resolution by default?
As example, when you render MediaStreamTrack (with FHD constraints) & depending on resources and❗️light conditions❗️the video can be as small as 640x480
The solution: applyConstraints call. Thoughts?
36
My company (a five-person startup, two devs including me) wants to implement an on-call rotation.
Would you agree to that?
To me, this is beyond crazy, but I wanted to hear your thoughts 🙏
2
2
131
What is the dream app you always wanted to (help) develop?
For me, it is Uber, which I use all the time. Why? It is a mix of unbelievable technologies together:
1. Real-time data processing
2. Advanced mapping and geolocation
3. Great UI/UX
What is your inspiration?
47
Start-up life ...
One day, you create a button and struggle to style it because the client wants a neon animation.
On the second day, you are configuring a Debian-based Docker container for video rendering tasks on the cloud.
And the week just started! 😅
What's your story?
30
❓❓❓
Do you have any experience in React code-generation tools?
Thinking about Plop.js, Yeoman (maybe too big) and Hygen
The flow will be as follows - create a React composition and render it as a video
Super interesting challenge, and I am considering the best fit
33
❓ How would you implement a mechanism for remembering API calls?
For example, consider the OpenAI assistant thread run call, where some prompts in your workflow failed. You want to retry the workflow but not the successful calls (for $ reasons)
What's your idea?
28
Deciding whether to use Adobe Commerce or Shopify for a new e-commerce app.
Both provide excellent React-based frameworks, which is fantastic.
What would you use?
33
Currently working on a new video podcast app 📸
Imagine you are in your new space, and I am creating a sample episode based on your profile in the background.
How would you know it is ready without page refresh?
Thinking about long polling or web sockets 🤔
18
💡 CSS tip: use scroll snapping in (horizontal) lists
Scroll snapping is applied on scroll containers and improves:
📷 UX
📷 Engagement
📷 Navigation
Check out the below example to see it in action.
Notice how the content is always perfectly centered.✅
2
64
💡JavaScript tip💡
Use the switch statement for multiple boolean cases
You can check various conditions using one switch statement
Start with switch(true) {}
This is very useful when you expect multiple outcomes from one or more variables
Check out this example now 📷👇
2
48
What is the best web development advice you were given?
I have two, actually:
💡do not fall in love with your code
💡practice daily and build strong foundations
With these, you can actually focus on improving how to code and not deal with your ego 💪
Thoughts?
1
52
💡 React / JS tip:
Use polymorphism to dynamically render components. Polymorphism is an OOP concept, but the React world allows us to render components with different elements
Real-world use case: Selected payment method in an e-commerce checkout form
Check out my example!
4
76
When developing apps, a happy path is not enough
Errors will happen because of
❌ bad network
❌ no permissions
❌ broken links
❌ API changes
❌ failed payments
❌ and so on
Try to break the new feature before real customers do
Check out this real-life example👇
1
32
2024 is just around the corner 🌟
But I do not stress over it
This does not have to be a make-or-break year
See, #webdevelopment takes time and changes are never sudden
And for this reason, let's keep doing good job and improve everyday
We've got this, folks! 💪
2
45
Ever wondered why poor Wi-Fi is that bad when browsing the Internet?
This is because the TCP connection (on which the whole network is based) focuses on reliability🛜
But a non-reliable connection still gets data
Check out how TCP connection is working in more detail + tip👇
2
50
#js tip: Clean code helps with readability and maintainability and makes our applications faster🚀
How?
To run JavaScript, our browsers use optimizing compilers, which:
1⃣do speculative optimization
2⃣create hidden classes
3⃣inline functions
👉Only clean code can be optimized
1
61
Have you ever wondered how to implement a location-based query in your next web application?
For example, find me all restaurants within a 10-mile radius of a specific area.
Check out the below example implemented in Mongoose (@MongoDB ODM library, which I highly recommend) 👇
2
45







