Problem This component is meant to take in an array of available options and provide the user an easy way […]
Tag: react.js
Theme Switcher App
Problem I am a student who wrote a theme switcher, but I don’t know if everything is ok. I want […]
React async useEffect with loading and error state
Problem This is my first time trying to add clean error handling and loading notification for async requests in my […]
Navigation bar React component, with a “back” and a “close” variant
Problem I am working on a component for a navigation bar. This navigation bar currently has two variations: a “back” […]
Deep cloning and modifying containers from ReactJS this.state
Problem I am presently working on refactoring ReactJS code away from directly manipulating this.state and towards using this.setState() only (which […]
Shopping Cart with React JS
Problem I’ve just created my first set of related classes in React and would like to get feedback from more […]
ES6 classes and ReactJS: implementing propTypes
Problem I had a problem to define propTypes for my React class. I ran into solution that doesn’t feel right: […]
Clean up and Refactor react code to increase performance
Problem I am new in coding in React and I have just joined a new organization where I need to […]
Turning on/off setInterval locating – using React.js
Problem I work with the GoogleMaps API, using React.js. Inside the GoogleMap component: I have a component called UserLocationTimer, which […]
Simple Kanban component
Problem I am looking for some suggestions on how to make my code cleaner and simpler. Or put another way: […]