issa-tseng / janus

the two-faced application library-framework.
http://janusjs.org
37 stars 7 forks source link

DomView#subviews() List should update after #artifact() #157

Open issa-tseng opened 5 years ago

issa-tseng commented 5 years ago

right now if you do domview.subviews() before you call artifact() you get an empty List back.

but then if you call .artifact() later, that list does not update with the new subviews.

issa-tseng commented 5 years ago

one possible solution is to refactor binding generation to be based on a Managed Varying.

this change would also allow wireEvents to not force artifact, but instead autowire once the artifact actually does exist.

issa-tseng commented 5 years ago

(same problem with stdlib listview right now)