Closed jneen closed 4 years ago
One last question @timarney: should this be merged to master given that it is a major breaking change?
I also agree that this PR grew a bit too large. I likely would have added the repeater functionality in a separate branch, but I had been under the impression that it was important to get this through before my family leave based on discussions with @rossferg. We had also already finished the coding in the 2620 branch, and this was a simple port.
Many of the changes here were me cleaning up as I went, attempting to make the codebase nicer than how I found it - especially as some of those design decisions that had been made in haste blocked the way forward.
Okay! Without further input, I think it's best to merge to master so we can move forward from here. Thanks!
This pull request includes the repeater, as well as the refactoring necessary to make it work.
Why do we need to refactor like this? The TLDR is: we need to be able to access the data from helpers, which means it needs to be registered on
res.locals
instead of passed intores.render(...)
.