view demo/react.ur @ 2264:bbcf9ba9b39a

Fix another mismatch between expunger SQL generation and SQL parser.
author Ziv Scully <ziv@mit.edu>
date Tue, 13 Oct 2015 20:24:37 -0400
parents e6bc6bbd7a32
children
line wrap: on
line source
fun main () =
  s <- source "You didn't click it yet.";
  return <xml><body>
    <button value="Click me!" onclick={fn _ => set s "Now you clicked it."}/><br/>
    <dyn signal={v <- signal s; return <xml>{[v]}</xml>}/>
  </body></xml>