Tags

Posts filtered by the tag reactjs

  • React Query Basic: Query Lifecycle

    July 16, 2024

    I never really created my own loading and error handling before without using React query.

  • React Query Basic

    July 8, 2024

    I’ve been using React Query for some time now but didn’t really understand it as I’ve used my old company project code in React Query and used it on my other projects without knowing why the code does that.

  • TS for React: Prop Types

    October 21, 2023

    Here are some basic type and useful prop types when using Typescript in React.

  • Learning React Context API

    September 10, 2023

    Context API is a feature added in Reacy 16.3 that allows to share states across the entire application.

  • Login / Logout / User Authentication

    June 25, 2023

    My first time adding User Authentication / Login Logout integration to my client project was an awesome experience. I’ve always been just doing the CRUD, Component before and giving me the opportunity to do the Login credentials was pretty cool.

  • Simple Notification Component

    May 15, 2023

    Let’s create a simple notification component without using any library.

  • NextJS + Sanity.io Pagination Fun! 😒

    April 15, 2023

    All right, this one was so FUN! ( emphasis on Fun! ). I’ve been trying to do this for a couple of days and finally managed to find a solution. Thanks, ChatGPT!

  • generate keys for your list item ( react )

    March 12, 2023

    I usually just use an index for my key values when creating a list of items in React and for me, that will do. This will solve my "You need a key for your list items" warning message in my console when building React application.

  • useForm

    March 3, 2023

    If you’ve been doing ReactJS for some time you know that it’s a lot of work to do <Forms /> in React. There’s just too much stuff you have to do and consider. You have to do your own state management for the inputs else it’ll not work.

  • styled-component props

    February 28, 2023

    I like using styled-component for my project because I have to put the style inside my component rather than putting it in some folder to make it more organized!