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(), legacy_reactive_statements: new Map(),
metadata: { metadata: {
namespace: options.namespace, namespace: options.namespace,
bound_contenteditable: false, bound_contenteditable: false
async: []
}, },
events: new Set(), events: new Set(),
preserve_whitespace: options.preserveWhitespace, preserve_whitespace: options.preserveWhitespace,

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

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

Loading…
Cancel
Save