You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,9 @@ Decorators help simplify code by replacing the noise of common patterns with dec
10
10
Conversely, decorators can also be overused and create obscurity.
11
11
Decko establishes 3 standard decorators that are immediately recognizable, so you can avoid creating decorators in your own codebase.
12
12
13
-
> _**Note:** Decorators work by default with Babel 5.x. For Babel 6+, install [transform-decorators-legacy](https://github.com/loganfsmyth/babel-plugin-transform-decorators-legacy)._
13
+
> 💡 **Tip:** decko is particularly well-suited to [**Preact Classful Components**](https://github.com/developit/preact).
14
+
>
15
+
> 💫 **Note:** For Babel 6+, be sure to install [babel-plugin-transform-decorators-legacy](https://github.com/loganfsmyth/babel-plugin-transform-decorators-legacy).
0 commit comments