Merge pull request #2994 from chenglou/docs-classset

[Docs] Add note on classSet deprecation
This commit is contained in:
Paul O’Shannessy 2015-02-20 17:00:36 -08:00
commit 5ab7fdecfe
1 changed files with 4 additions and 0 deletions

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()`: