frontend

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

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

Learning React - hooks or classes

React exposes 2 general types of writing components. First - older is classes. Newer one - functional with hooks. Which is better?
Read more