DEV Community

Aleksei Berezkin profile picture

Aleksei Berezkin

Fullstack dev: Java, JS, TS, React

Work

Fullstack developer

All 127 comments

My random thoughts on Svelte

After push you may write like array = array πŸ˜‰ This works and ...

TypeScript is slow. What can we do about it?

Yep, it's much faster now. Happily, I own the same laptop and...

Setting up React + TypeScript app from scratch without create-react-app

Thank you so much, updated the post

TypeScript is slow. What can we do about it?

No, haven't tried yet unfortunately. To improve compilation t...

Does business need a good code?

Yes, I believe it means it degrades.

Does business need a good code?

You are right, telling good vs bad code is hard, so I don't g...

ShowDEV: Guess CSS! HTML+CSS puzzler game

I believe you can easily get +Inf:0 πŸ˜‰

TypeScript is slow. What can we do about it?

Exactly. What is inherently slow cannot be fixed just by taki...

What happened to Immutable.JS? And how can we react?

Thanks for pointing this out! Added an update note at the top.

Really, why React?

The way you quote is not fair πŸ˜‰ That's known as β€œtaking out o...

Really, why React?

Most of a post is like β€œI've seen a lot of crappy React code ...

Why I left CSS-in-JS and returned to good old CSS preprocessors

So do you mean whoever uses React is completely wrong?

Make a Discord bot in just 30 lines of code.

Thanks for sharing! Just curious: why you insert code as scre...

Why I left CSS-in-JS and returned to good old CSS preprocessors

Well, β€œseparating domains” is a bit arguable πŸ˜‰ Do you separat...

Why I left CSS-in-JS and returned to good old CSS preprocessors

Thanks for your point. You are right, I’m not css expert and ...

Class Components vs Functional Components in React

I'm not sure I can explain this in couple of words πŸ™‚ In gener...

Class Components vs Functional Components in React

Functional components are much much easier than class ones. O...

Making perfect square tiles with flexbox

Hi, I believe Code Pen license applies blog.codepen.io/docume...

Something is already running on port 3000

Try running the same in sudo mode

Callback hell OR try catch hell (tower of terror)

You can have one catch clause below all awaits

10 Developers You Must Follow To Improve

You suggest following somebody without providing links? πŸ˜‚ Tha...

Let's Create a Custom Hook in React πŸ±β€πŸ‘€

Hooks are awesome, just imagine implementing the same with HO...

Making perfect square tiles with flexbox

What about this comment? dev.to/afif/comment/1ei41 It's bette...

What has the Marko Team Been Doing all These Years?

Thanks for sharing, that was very interesting! It's amazing s...

Setting up React + TypeScript app from scratch without create-react-app

Thanks for your link. Will keep it in mind if I need Babel.

How Interfaces May Eliminate Need For Pattern Matching (sometimes)

Thanks for sharing. Could you please provide some examples (i...

Why I left CSS-in-JS and returned to good old CSS preprocessors

Thanks for such an insightful comment essay πŸ™‚ I completely ag...

I made 100 more CSS loaders for your next project

Awesome job! Under what license do you publish this? Do you r...

Creating your own bind() (Polyfill of bind)

Implementing bind with apply is kind of cheating πŸ˜‰

Why I moved from Styled Components to (S)CSS modules

No-runtime CSS-in-JS seems like a good compromise! Are there ...

Why I left CSS-in-JS and returned to good old CSS preprocessors

Thanks, will definitely take a look!

I made an app for Web Developers!

Yes we are indeed happy for this achievement, really πŸ™‚ It's a...

Why I left CSS-in-JS and returned to good old CSS preprocessors

Thanks for your comment. So why do you think Web Components a...

Why I left CSS-in-JS and returned to good old CSS preprocessors

Thanks, got your point πŸ˜‰ Perhaps it's the matter of taste but...

I made an app for Web Developers!

Thanks for sharing! How's that different from the Mobile view...

Censorship on DEV Community 😢🀐

Can poster hide comments just as they wish? Seriously? Never ...

Why You Should Learn Next Next

What should I learn next if I've learnt next previous? πŸ˜‰

Classical inheritance vs Prototype delegation in JavaScript

With private members classes are now more than just a sugar

Spread Operator: don't misuse it

Thanks for sharing. Case 1 is square complexity thus it's the...

KISS Design Principle in 100 seconds

Making complicated is simple; making simple is hard πŸ˜‰

Back to Basic: Should we use Flexbox or Grid?

Thanks for sharing! What's with grid in older browsers? I'm n...

Why to use useState in react?

To get React without useState or state management: Store yo...

10 tips to improve readability in Javascript

11.TypeScript πŸ˜‰

Making perfect square tiles with flexbox

Thanks, bookmarked your solution. EDIT: updated the post

TailwindCSS: Adds complexity, does nothing.

Thanks for explaining me why I don't need it. How I understoo...

Tailwind CSS might not be for you

It's funny people not only argue about Tailwind but also abou...

Git - How to fix a bad commit

Thanks for not mentioning force push πŸ˜‰ Worked at project wher...

3 JavaScript features that bloat your ES5 bundle

It's completely true for applications. I agree that es5 bundl...

Lifecycle Methods: React πŸš€

What? Class components in 2020? Well, as you wish πŸ˜‰ Just to l...

Are you too old to start a programming career?

I have two friends who started their IT career in their thirt...

JavaScript Programming Problem

That's faster than the original solution

My Home Office Setup

Seems your keyboard is near the table edge, and there's no pl...

React

Well, you set up your environment, then write a code, then st...

Svelte for Sites, React for Apps

My apologies if it sounded like a trolling, I'm not here to m...

Svelte for Sites, React for Apps

How Svelte is different from all others templating engines li...

Type-safe React using TypeScript

Interfaces can be augmented. What does it mean: if you export...

How to pass function to Web Workers

Passing serialized functions around may be not secure. It's b...

Why I prefer WebStorm over VSCode for web dev

WS is definitely smarter. I tried to switch to VSCode but gav...

Something is already running on port 3000

Hi! I used to encounter this error. It may happen if you clos...

Do you still use Lodash and Underscore in 2020?

Both are ES6-iterables incompatible, so no.

Vanilla JavaScript palindrome checker in 3 lines

Nice trick! Because string is iterable, you may also reverse ...

TypeScript And React: 7 Lessons Learned

Thanks for sharing! How exactly a trick with images works? Is...

What happened to Immutable.JS? And how can we react?

Thanks for your reply! It's always nice to have an official s...

What happened to Immutable.JS? And how can we react?

Thanks for sharing links. While linked lists definitely have ...

🀫 The secret to my writing process

Russian πŸ‡·πŸ‡Ί

🀫 The secret to my writing process

Funny: in my native language words β€œlanguage” and ”tongue” ar...

🀫 The secret to my writing process

English is not my native tongue We got it πŸ˜† Thanks for you...

Sorting Algorithms in Javascript Part 2

Please excuse me my curiosity, why screenshots, not MD code s...

Ten Common Myths About a Career in Software Development

And why do you think you can generalize? Perhaps just differe...

Ten Common Myths About a Career in Software Development

Actually learning new stuff after years of experience is easi...

Is Deno the future of JavaScript?

So you replace package.json with its js (ts) analogue... What...

Is Deno the future of JavaScript?

Managing deps is hard 😐 With NPM the problem is a disk space ...

balalaika IT newsletter #11

wait and notify somehow managed to sneak from Java to JS...

Stop Using React

No. Your code is No. Bundlephobia must be treated, not bundl...

TypeScript: Enums

There's a controversial opinion that TS enums are better be a...

I can't write a JavaScript for loop, and it does not matter

Mixing in and of is the most often mistake I make πŸ˜‚ That's wh...

TypeScript is slow. What can we do about it?

any works the opposite way πŸ˜€ any tells TS and IDE to stop inf...

TypeScript is slow. What can we do about it?

Knowing types from a context is not a type inference? Whut? 😲...

Why svelte is revolutionary

Thanks for sharing! Skimmed through the tutorial and it looks...

TypeScript is slow. What can we do about it?

I don't get your point. You don't like type inference in TS b...

TypeScript is slow. What can we do about it?

I think that may be a matter of measure. And taste to some ex...

TypeScript is slow. What can we do about it?

I'm not sure it's correct to expect from TS some β€œcustom” pri...

TypeScript is slow. What can we do about it?

You are right. I found an open issue which was lacking an exa...

TypeScript is slow. What can we do about it?

TypeScript type system is πŸ˜€ That's not a citation, that's my ...

TypeScript is slow. What can we do about it?

Is it possible to integrate WS or VSCode with this tool? Brie...

TypeScript is slow. What can we do about it?

I'm using only standard plugins. Is there anything you advise...

TypeScript is slow. What can we do about it?

Again, tsserver process performed literally exactly the same ...

TypeScript is slow. What can we do about it?

WS is definitely CPU-demanding, however, it's the price to pa...

TypeScript is slow. What can we do about it?

Is Golang interpreted? I haven't yet tried, but Wikipedia sug...

TypeScript is slow. What can we do about it?

I'm not sure TS supports this. Do you have some insights?

TypeScript is slow. What can we do about it?

Could you please elaborate a bit on this? Because I actually ...

TypeScript is slow. What can we do about it?

These are very good questions! The server could have cached s...

TypeScript is slow. What can we do about it?

Thanks for sharing a link! Is this the repo? github.com/ekscr...

TypeScript is slow. What can we do about it?

Separation of concerns is always a good thing, regardless of ...

TypeScript is slow. What can we do about it?

Interesting! How quickly does it pick up new features of Type...

TypeScript is slow. What can we do about it?

I hear this quite often about TS. However, IMO there's no con...

Complete the function without using loops and conditions

You need just to... Solution Solve the system of 2 line...

TypeScript is slow. What can we do about it?

Not only tools for TS are written on TS, the TS itself is wri...

TypeScript is slow. What can we do about it?

The latest stable version (4.0.3). As I already answered some...

TypeScript is slow. What can we do about it?

Thanks for an insightful comment. That's true that not only f...

15 Must Know Linux Commands For Beginners

Encountered one day and found it very helpful. Is like man bu...

Writing 'Testable' Code Feels Wrong

Not all of the code needs to be unit-tested IMO. Good test is...

TypeScript is slow. What can we do about it?

It's because of the nature of the JavaScript web. Stop using ...

TypeScript is slow. What can we do about it?

It's good but usual MacBook Pro with i7 and 16 GB RAM. Most o...

TypeScript is slow. What can we do about it?

Sure, having a big and powerful computer is better than havin...

What Makes Ruby on Rails A Good Choice In 2020?

Thanks for sharing. Heard somewhere the following observation...

TypeScript is slow. What can we do about it?

Thanks for your suggestions! But I'd better keep that MacBook...

TypeScript is slow. What can we do about it?

Yes. However, because VSCode eats less CPU itself, the overal...

TypeScript is slow. What can we do about it?

Yep, WASM is promising, and its support in node is coming. I'...

Reactive Toolbox: Why and How

Thanks for sharing! Promises, async code and single-threaded ...

How do you promote your open source projects?

What got you the most effect?

What domain extension do you use for portfolio?

app for β€œapplication”: guess-css.app

Role of Java in modern web development

Whether Java is slow or not depends on what to comparw it wit...

1 small tip to improve your code readability

Oldstyle folks (like me πŸ˜€) remember this from Uncle's Bob β€œRe...

Does Python has a main function?

It doesn't have main function but it does have main if instea...

I've hit a brick wall. How do I progress as a React Dev and other confusions.

Hi Sandeep some feature addition requires either a lot of r...

Beginning JavaScript - Variables and Primitive Data Types

Yes, the dynamic nature of JavaScript can make one feel that ...

Beginning JavaScript - Variables and Primitive Data Types

It's good interview question: what exactly is JavaScript numb...

πŸ›‘ Stop using pixels in CSS

Am I allowed to use pixels in media queries? πŸ˜‰

Welcome Thread - v90

Hi! Recently joined Dev.to, and couple days ago made my first...

Two Ways to Rotate an Array in JavaScript

Or, to avoid arr concatenation if it can be large, const r...

I've automated my morning routine πŸ€–

How about just not turning off a computer? πŸ˜‰

What is the ideal length of a code for you?

I heard somewhere about β€œmagic number 7” β€” it's considered th...

loading...