Posts filtered by the tag javascript

  • create your own useState

    April 7, 2023

    Creating a useState method using vanilla javascript.

  • default exports vs named export

    April 6, 2023

    Why export in javascript? - cleaner code - one source of files to look into - utils folder is a good way to use exports

  • 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.