Applying conditional styles in React with classSet add-on

InstructorJoe Maddalone

Share this video with your friends

Send Tweet

Applying conditional classes can be a real chore in any framework. Luckily for us, React makes it easy with the classSet add-on.

Esteban Martini
~ 8 years ago

According to the React docs, classSet was deprectated in favor of classnames.

There is a Egghead.io lesson about it: Using the classnames library for conditional CSS in React. Would be cool remove this lesson or add a message pointing out about the new lesson