pull/15844/head
Rich Harris 3 months ago
parent 758c39dc87
commit 163009dd1b

@ -157,8 +157,7 @@ export function client_component(analysis, options) {
legacy_reactive_statements: new Map(),
metadata: {
namespace: options.namespace,
bound_contenteditable: false,
async: []
bound_contenteditable: false
},
events: new Set(),
preserve_whitespace: options.preserveWhitespace,

@ -58,10 +58,6 @@ export interface ComponentClientTransformState extends ClientTransformState {
readonly metadata: {
namespace: Namespace;
bound_contenteditable: boolean;
/**
* Synthetic async deriveds belonging to the current fragment
*/
async: Array<{ id: Identifier; expression: Expression }>;
};
readonly preserve_whitespace: boolean;

@ -69,8 +69,7 @@ export function Fragment(node, context) {
transform: { ...context.state.transform },
metadata: {
namespace,
bound_contenteditable: context.state.metadata.bound_contenteditable,
async: []
bound_contenteditable: context.state.metadata.bound_contenteditable
}
};

Loading…
Cancel
Save