Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/sdks/javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,5 +288,6 @@ it("shows the turbo button when the feature is enabled", () => {
| `stopPolling` | `prefab.stopPolling()` | stops the polling process |
| `context` | `prefab.context` | get the current context (after `init()`). |
| `updateContext` | `prefab.updateContext(newContext)` | update the context and refetch. Pass `false` as a second argument to skip refetching |

| `extract` | `prefab.extract()` | returns the current config as a plain object of key, config value pairs |
| `hydrate` | `prefab.hydrate(configurationObject)` | sets the current config based on a plain object of key, config value pairs |
[jsDelivr]: https://www.jsdelivr.com/package/npm/@prefab-cloud/prefab-cloud-js