Closed joeldevlearning closed 7 years ago
Working on this in feature-polldata-class
The view layer (PollForm) is now only update via the ViewModel, which is backed by the PollModel https://github.com/joeldevlearning/wf-poll/commit/04e881167be3a96ac4d0a0bbcad027761823e517
Right now CandidateList and PollResult - plus a dictionary containing PollResult - hold the data needed to model the polling data. We need to concentrate these into one object. Then a single "ViewModel" can sync with this object.