Is functional programming in JS really worth it?I admit that I am still at the beginning of my FP journey, but it's examples like these that make me sceptical about the whole FP hype which is consuming the JS world. Imperative isOdd: const isOdd = n => n%2 === 1; Imperative isEven: const isEven =...Dec 4, 2020 路 3 min readnavicstein.hashnode.dev
Managing global DOM events in React with HooksCreating UI components like dialog, modal, or drawers mostly requires adding keyboard accessibilities like closing them when ESC (escape) key is pressed, and doing so may require you to attach an event listener on Window object for keyup event inside...Dec 4, 2020 路 4 min readnavicstein.hashnode.dev
What is CSS-in-JS?What is CSS-in-JS? So you have all probably heard of CSS-in-JS frameworks and libraries such as emotion, styled-components, and goober. What is CSS-in-JS CSS-in-JS libraries follow many different patterns. But usually, they end up allowing you to do ...Dec 2, 2020 路 2 min readnavicstein.hashnode.dev
Quick tip on how to update your projects dependencies (nodejs)If you want to keep your project secure, fast and enjoy the latest features of all your dependencies, it's important to keep them regularly up-to-date. since this is just a quick tip and not a full blog post, i won't go into details on why you should...Feb 3, 2020 路 3 min readnavicstein.hashnode.dev