Vladyslav Tochanenko
banner
tochanenko.com
Vladyslav Tochanenko
@tochanenko.com
Software Developer
Prop drilling is React's first headache. The fix? Context API.

But is Context always the answer? Using it everywhere causes performance issues & tight coupling.

Check out my recent LinkedIn Post to learn where simple props are a better choice. #React
November 19, 2025 at 5:03 PM
Using || (Logical OR) for defaults can be buggy. It triggers on any falsy value, like 0 or "".

If you only want to replace null or undefined, use ?? (Nullish Coalescing). It's the safer choice.

Check the image for a code example! 👇

#javascript #typescript #codingtips #webdev #react
November 17, 2025 at 4:11 PM
Ever notice a weird flicker in your React app before the styles snap into place?

That flash is often a sign that your component has rendered before your DOM-dependent logic has run. You can fix it with useLayoutEffect hook.

Check out my recent LinkedIn Post to learn more! #React
November 12, 2025 at 5:15 PM
Switching from Angular or old-school React class components to modern React, where almost every component is functional?

You might be wondering: "Where did my lifecycle methods go?"

Don't worry, they're still here, just in a new form.

Check out my recent LinkedIn Post to learn more! #React
November 5, 2025 at 6:15 PM
This opens countless possibilities for interactive features, especially those we previously avoided due to performance concerns, and all without compromising project performance! ✨
Preact Signals just got a huge performance boost:

Signals rendered as text/props & effects only "pull" as fast as needed for rendering. Since computeds run as-needed, they now only re-run as often as their downstream DOM output can be painted.

H/t to @jovidecroock.com for making this happen.
January 11, 2025 at 12:19 AM