Skip to content

Commit 5751cfa

Browse files
authored
Merge pull request #31 from evenchange4/patch-1
docs(README): add reserved words note
2 parents fda42d2 + d39a201 commit 5751cfa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ The Action Logger addon can be used to display data received by event handlers.
88

99
You can use this addon without installing it manually.
1010

11-
Import the `action` function and use it to create actions handlers. When creating action handlers, provide a name to make it easier to identify.
11+
Import the `action` function and use it to create actions handlers. When creating action handlers, provide a **name** to make it easier to identify.
12+
13+
> *Note: Make sure NOT to use reserved words as function names. [issues#29](https://github.com/storybooks/storybook-addon-actions/issues/29#issuecomment-288274794)*
1214
1315
```js
1416
import { storiesOf, action } from '@kadira/storybook'

0 commit comments

Comments
 (0)