Skip to content

Commit b6980ab

Browse files
committed
[Docs] Add note on classSet deprecation
1 parent 9f9d833 commit b6980ab

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ prev: two-way-binding-helpers.html
66
next: test-utils.html
77
---
88

9+
> NOTE:
10+
>
11+
> 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.
12+
913
`classSet()` is a neat utility for easily manipulating the DOM `class` string.
1014

1115
Here's a common scenario and its solution without `classSet()`:

0 commit comments

Comments
 (0)