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 =...3 min read路navicstein.hashnode.devDec 4, 2020
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...4 min read路navicstein.hashnode.devDec 4, 2020
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 ...2 min read路navicstein.hashnode.devDec 2, 2020
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...3 min read路navicstein.hashnode.devFeb 3, 2020