- Adds Web workers and does evaluations in off the main thread - Removes any need to store functions in the data tree and only keeps them around while evaluating - Maintains a stored data tree in the redux state - Evaluates based on editor events instead of state changes
11 lines
375 B
TypeScript
11 lines
375 B
TypeScript
import WidgetBuilderRegistry from "./WidgetRegistry";
|
|
import PropertyControlRegistry from "./PropertyControlRegistry";
|
|
|
|
export const editorInitializer = async () => {
|
|
WidgetBuilderRegistry.registerWidgetBuilders();
|
|
PropertyControlRegistry.registerPropertyControlBuilders();
|
|
|
|
const moment = await import("moment-timezone");
|
|
moment.tz.setDefault(moment.tz.guess());
|
|
};
|