Skip to content

concert/idris-vdom

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

idris-vdom

Virtual DOM in pure Idris. Only works with the JavaScript backend, of course.

The Idris test harness only works with the C backend. To run tests, run make test, open vdom-test.html in a browser that allows local JavaScript, and check the JavaScript console.

To do

  • Naïve renderer
  • Event listeners on nodes
  • Properties on nodes
  • Event listener options
  • Use diffing renderer that sets listeners only once per node
  • Allow rendering on any root element, not just <body>
  • Write some tests already
  • Allow updating listeners when diffing
  • Clean up the API

About

Virtual DOM in pure Idris

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Idris 95.1%
  • Makefile 3.0%
  • HTML 1.9%