Skip to content

Commit b1dc732

Browse files
committed
createInstance return null
1 parent 9c5cfd5 commit b1dc732

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

MIGRATION.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ const optimizely = createInstance({
111111
});
112112
```
113113

114+
In case an invalid config is passed to `createInstance`, it returned `null` in v5. In v6, it will throw and error instead of returning null.
115+
114116
## Project Configuration Management
115117

116118
In v6, datafile management must be configured by passing in a `projectConfigManager`. Choose either:

0 commit comments

Comments
 (0)