Navigating the Upgrade: A Dive into React Router 6 with My CodeTech Used I delved into React Router 6, utilising the codebase I had crafted with React Router 5. The technologies used include React, React Router 6, and JSX. What I Learned Import Statement Refinement React Router 6 brought in a more concise import...2 min read·jamescodes.hashnode.devFeb 21, 2024
Playing with the power of dynamic styles in ReactDynamic styles leverage state-based styling for adaptability, enhanced user experience, and customisation. Placing state higher in the component tree brings1 min read·jamescodes.hashnode.devFeb 16, 2024
Unveiling the Dark (Mode) Secrets: How I Tackled the Toggle Issue...Overlooking scope and underestimating CSS specificity can lead to subtle yet impactful issues. The key is to approach problems with a holistic mindset.2 min read·jamescodes.hashnode.devFeb 15, 2024
Limited Styles! A Classic Mistake!I built a toggle component (Dark / Light functionality) that 'toggles' a class depending on the state (code below), BUT I made a classic mistake! Here's how: I’ve given myself ‘Limited Scope’: The DarkLightComponent renders within the Container co...1 min read·jamescodes.hashnode.devFeb 14, 2024
For Props sake?! A Journey back into React Components...How I demonstrated the use of dynamic component rendering, prop handling, and the importance of keys in mapping arrays.3 min read·jamescodes.hashnode.devFeb 12, 2024