var i = 23;
function view() {
return (<div>
<p>Count: {i}</p>
<button onclick={inc}>
Increment
</button>
</div>);
}
function inc() {
i++;
}
Many other approaches and implementations
Functional Rendering for live programming
Live code updates to stateful applications with continous feedback
Input-output examples for synthesizing
human-readable program code
view : Model -> Output
Inverting basic operators, gradient descent
Generate-and-test, constraint solving
Dynamically enforce function purity
view
causes runtime error due to deep cloning and Object.freeze
String origin tracking
Proxy
to mimic native stringsDirect Manipulation
Live Program Synthesis