don't re-compute values on first render (unnecessary, values are part of state)

This commit is contained in:
Joeri Exelmans 2025-05-14 06:46:03 +02:00
parent 174bab79e4
commit 2d0deca127
14 changed files with 274 additions and 115 deletions

View file

@ -1,11 +1,10 @@
import type { EditorState } from "./Editor";
import type { Dynamic } from "./util/extra";
import type { Dynamic, ResolvedType } from "./types";
export interface LambdaBlockState {
kind: "lambda";
env: any;
paramName: string;
expr: EditorState;
resolved: undefined | Dynamic;
resolved: ResolvedType;
}