Skip to content

Commit a6bff22

Browse files
dnlsandiegoaweary
authored andcommitted
add babel-plugin-tinytime link
1 parent 7d6d22c commit a6bff22

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ function Time({ date }) {
7676
}
7777
```
7878

79-
### Babel Plugin
79+
### Babel Plugins
8080

81-
Using [`babel-plugin-transform-tinytime`](http://npm.im/babel-plugin-transform-tinytime) you can resolve this efficency concern at compile time.
81+
Using one of the plugins below, you can resolve this efficency concern at compile time.
82+
83+
[`babel-plugin-transform-tinytime`](http://npm.im/babel-plugin-transform-tinytime) - Hoists `tinytime` calls out of the JSX render scope.
84+
85+
[`babel-plugin-tinytime`](https://www.npmjs.com/package/babel-plugin-tinytime) - Hoists `tinytime` calls out of the current scope, regardless if its inside JSX or a ordinary function scope.

0 commit comments

Comments
 (0)