Rail BatyrshinCreation of a custom hook for implementing reactive localStorage in React.The usage of the hook will look like this. For example, let’s create a variable called variantIdStore and set it up using useStore:Jun 5Jun 5
Rail BatyrshinCode Cuddles: two approaches to implement Slots in React that I found, with code examples.When creating an application using React/Next.js, I encountered the need for targeted customization of the content of certain components…Jun 30, 2023Jun 30, 2023
Rail BatyrshinThe longest common prefix stringWrite a function to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty string…Dec 3, 2022Dec 3, 2022