Browse Source

[Docs] Add note on classSet deprecation

main
Cheng Lou 10 years ago
parent
commit
9a21eec36e
  1. 4
      docs/10.3-class-name-manipulation.md

4
docs/10.3-class-name-manipulation.md

@ -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…
Cancel
Save