akhilstyles.hashnode.devReact's useActionState Explained with a Real-World ExampleuseActionState is a React hook that simplifies managing form submissions and their state. It’s particularly useful in React applications (especially with frameworks like Next.js) that use server actions or progressive enhancement. It allows you to: ...May 30, 2025·3 min read
akhilstyles.hashnode.devProblems on Intervals & Patterns PART-1Type 1: Merge Interval In this Question, Step 1:Sort according to their starts, which means sort in ascending order. Step 2: And while we are merging we just check the second start element is <= the previous list end element. If this condition satisf...Mar 3, 2023·4 min read
akhilstyles.hashnode.devPure and Impure Pipe in Angular with an Example.Pipes are simple functions to use in template expressions to accept an input value and return a transformed value A pure pipe is a pipe that is stateless and does not depend on any external factors. This means that if we pass the same input to a pu...Feb 26, 2023·2 min read