[Docs] Add note on classSet deprecation

This commit is contained in:
Cheng Lou
2015-01-30 18:56:52 -08:00
parent b05b029cd2
commit 9a21eec36e

View File

@@ -6,6 +6,10 @@ prev: two-way-binding-helpers.html
next: test-utils.html
---
> NOTE:
>
> This module now exists independently at [JedWatson/classnames](https://github.com/JedWatson/classnames) and is React-agnostic. The add-on here will thus be removed in the future.
`classSet()` is a neat utility for easily manipulating the DOM `class` string.
Here's a common scenario and its solution without `classSet()`: