Merge pull request #2994 from chenglou/docs-classset
[Docs] Add note on classSet deprecation
This commit is contained in:
commit
5ab7fdecfe
|
@ -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()`:
|
||||
|
|
Loading…
Reference in New Issue