News for hackers. Stuff that matters.
Re:Idyll: Interactive Document Language by arve0 on Saturday September 09, 2017 @04:16AM (#15206068)
Hi! I'm thinking about using this for creating tests in school. How would one send state to a backend? Use refs?
Re:Idyll: Interactive Document Language by mathisonian on Saturday September 09, 2017 @04:38AM (#15206126)
In that case you'd want to make a component that would post the state to the backend. You can use Idyll's variables to pass the state to the component that sends the request.

For example, here is a page that uses firebase to persist state https://mathisonian.github.io/idyll/firebase/. The custom components for that page are here https://github.com/mathisonian/idyll/tree/master/firebase/co...