Reactjs – I can't set the first item as default in listing in react js
I am creating an items listing with categories. I want to have it such that when user first visits the site, the default first category should be active, but at the moment, all items are appearing. After clicking on particular…