You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use composition instead of classes with Layout and LifeCycleHook #412
This is similar to #324 but specifically focused on the Layout and LifeCycleHook since those will be the most complex to refactor. I'm not really sure what the interface would ultimately look like - whether there would still be a layout with render and dispatch methods, or if those would be functions accepting some sort of LayoutState instead. Maybe a bit like:
This is complete. The drastic changes suggested in the original comment aren't really productive because there's not much use in having access to the internal state of Layout. The ability to substitute Layout for some other implementation is what is most useful.
Activity
fix #419 and #412
fix #419 and #412
fix #419 and #412
fix #419 and #412
fix #419 and #412
fix #419 and #412
fix #419 and #412
fix #419 and #412
fix #419 and #412
fix #419 and #412
rmorshea commentedon Jul 16, 2021
This is complete. The drastic changes suggested in the original comment aren't really productive because there's not much use in having access to the internal state of
Layout. The ability to substituteLayoutfor some other implementation is what is most useful.