James Aldermanjamescodes.hashnode.dev·Feb 16, 2024Playing with the power of dynamic styles in ReactTech Used: React, JavaScript What I Learned:Dynamic styles leverage state-based styling for adaptability, enhanced user experience, and customisation. Placing state higher in the component tree brings even more benefits. Benefits:1. Adaptability...dynamic styling
brian treesebriantreese.hashnode.dev·Sep 1, 20234 Ways to Dynamically Add Classes in AngularHey there, have you ever needed to programmatically add a class to an element in an Angular application? Like, maybe when a button is disabled, we need a class, but then once it’s enabled, we don’t. Or how about when a form goes from an invalid state...angular classes