update docs for the context in constructor

pull/6032/head
Tan Li Hau 6 years ago committed by tanhauhau
parent 7f6e5997db
commit 03f2b15181

@ -904,6 +904,7 @@ The following initialisation options can be provided:
| `target` | **none** | An `HTMLElement` to render to. This option is required | `target` | **none** | An `HTMLElement` to render to. This option is required
| `anchor` | `null` | A child of `target` to render the component immediately before | `anchor` | `null` | A child of `target` to render the component immediately before
| `props` | `{}` | An object of properties to supply to the component | `props` | `{}` | An object of properties to supply to the component
| `context` | `{}` | An object of context to supply to the component
| `hydrate` | `false` | See below | `hydrate` | `false` | See below
| `intro` | `false` | If `true`, will play transitions on initial render, rather than waiting for subsequent state changes | `intro` | `false` | If `true`, will play transitions on initial render, rather than waiting for subsequent state changes

Loading…
Cancel
Save