How to secure JS object returned by API as a correct Typescript type?
TS type predicate function helps here. (and it’s not the only way)
Read more
How to get cheaper domains
for owners of multiple domains
Read more
You cannot learn this
Why? What’s the thing you cannot learn? How to overcome it?
Read more
Fetch better than built-in?
Do you fetch your data? Do you use fetch in your projects?
I do.
But until couple days ago, I didn’t think about return value of fetch.
During discussion (in a course on frontend architecture) this issue was mentioned by one of the mentors.
Built-in fetch returns Promise<any> Why didn’t anybody use generics for this?
I decided to save myself (and others) some time and post the improved fetch as npm package
Read more
Unleash your (l)earning with free deployments
How to easily deploy your frontend project?
Read more
Singleton-like Context for shared components managent
Are you handling external modules or shared config in your React projects?
Read more
Setup external modules with React Context
A pattern that is helpful when you use external modules in your app.
Read more
Safer (and fast) refactoring in React
How snapshot testing is great for refactoring
Read more
How to get better at writing software (or any other skill)?
“It shows a dump of forgotten memories. Scrapped and disappearing. The same process happens to knowledge - read and not used.”
Read more
How to save hours of implementation time?
Code generation gets better and better, so why not to use it? Time of implementing API client in your apps is often huge. And it can be cut off, often totally. Meaning you can save hours of time reimplementing things that have been written on backend. How?
Read more
Select your date format with care
Do you support only the most modern browsers like Chrome, Firefox, Brave or you have to support variety of them? If you have to support browsers like Safari, be careful when dealing with date formats. Here’s why.
Read more
The Key
For long time I’ve thought technological progress will bring us good. After eons of evolution and thousands years of building our culture and technology, our knowledge is booming. Tt is, as any tool, double-edged sword. Will we thrive?
Read more
Biz vs Dev - who is more important?
It’s years-long battle between business and development teams.
Who is more important? Who is irreplaceable? Is it really that one side is ‘the One’? It’s imaginary battle. The truth is…
Read more
Editable website - quickly adjust web design or make an editor
There’s useful propery built in modern browsers to adjust your designs faster. Which one?
If you open your console and write following command, magic happens.
Read more
Less bugs in JavaScript using computed properties.
What is computed property? Computed property is feature introduced in ES6. The syntax allows to initialize object using variable’s value as a property name in newly created object.
Instead of
Read more
Learning everything is like learning nothing.
World is drowning in ocean of information. When you try to drink it all up - you simply can’t. That’s why content aggregators - summarization services are gaining traction.
Nobody has time to read, watch or listen all of it. Do you
Read more
Why software development physically hurts?
You might think software is just virtual. There’s physical world and the “not real”. Yet, there’s connection between two. What’s more - developing low quality software hurt just as much as tons of crap-like products, mass manufactured.
Read more
Collaboration with virtual whiteboard
How to effectively work with others?
Read more
How to check tech a site runs on?
What do you do when you find out a stunning website. A place you are curious about. What is it built with? - you may ask.
Here’s the answer - how to check tech a site is running on.
Read more
Automation for free
What is more useful for developer than automation?
Some time ago I was digging through Product Hunt (great for discovering new projects with potential!). I’ve spot a service with enigmatic name - n8n.
Read more