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: docs/subscriptions-helper.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,4 +64,6 @@ let make = (_children) => {
64
64
65
65
Now you won't ever forget to clear your timer!
66
66
67
+
**Note**: `subscriptions` is called **once**, after the component is mounted. It's not re-evaluated every time the component updates.
68
+
67
69
**Note**: this is an **interop helper**. This isn't meant to be used as a shiny first-class feature for e.g. adding more flux stores into your app (for that purpose, please use our [local reducer](state-actions-reducer.md#actions-reducer)). Every time you use `subscriptions`, consider it as a simple, pragmatic and performant way to talk to the existing world.
0 commit comments