Experimental Features
⚠️ Do not use experimental features in production ⚠️.
Experimental features have to be used with care. They are unfinished and subject to change without any notice in future versions of ActiveUI.
How to Enable an Experimental Feature
createActiveUI
When Calling You can activate an experimental feature when calling createActiveUI
by passing options with the key experimentalFlags
and an array of strings pointing to the name of the feature.
Example:
createActiveUI({
experimentalFlags: ['flag-1', 'flag-2'],
});
Through localStorage
You can activate some experimental features, or all of them, by adding some items in localStorage.
The following example shows what to write in your browser developer console in order to fill the localStorage:
// Activate experimental features one by one
localStorage.setItem(
'activeui-experimental-flags',
JSON.stringify(['flag-1', 'flag-2']),
);
// Activate all experimental features
localStorage.setItem('activeui-all-experimental-flags', true);
List
There are no experimental features in the current version of ActiveUI.