JavaScript functional programming explained: Higher order functions, partial function, and currying, functional composition.Recently, I refactored our console CDK pipeline code using the functional programming idea and I would like to document my understanding of functional programming. In this article, I will discuss seven functional programming techniques that you can u...Sep 30, 2023 Β· 3 min readboyanliu.hashnode.dev
Implementing an infinite scroll component in React & hooksIn the previous post, we implemented a load more functionality in React. Today, We will implement an infinite scroll component with react hooks in two approaches. What is Infinite Scroll? Infinite Scroll is a technique that automatically adds the ne...Dec 15, 2021 Β· 7 min readboyanliu.hashnode.dev
Build a load more functionality using react hookIn this article, we will learn how to implement a load more button using react hooks and functional components in a step-by-step way. I hosted the working code on codesandbox. Feel free to fork and play around. I am using this api in our example. ht...Nov 18, 2021 Β· 4 min readboyanliu.hashnode.dev
Introduction of Console object in JavascriptIn Javascript, the console is an object which provides access to the browser debugging console. As web developers, we use console.log to diagnose and troubleshoot issues in our code. In this article, I am planning to give you an introduction to the ...Jun 26, 2021 Β· 2 min readboyanliu.hashnode.dev
How many ways can you come up with centering horizontally, vertically, or both?This is a very common frontend developer interview question and we all have the experience to center elements in our daily developer tasks. You might be used to one way to complete the tasks, but have you ever think about what alternative ways to cen...Jun 20, 2021 Β· 7 min readboyanliu.hashnode.dev