Refactor Strategy Component to Break Out Parameter
By splitting out strategy into one sub-component per strategy, we should be able to make it easier to add more strategies down the road. Strategy sub-components are responsible for knowing how they alter the strategy object, and emit it upward when changes are made. The parent strategy component keeps a map between strategy types and their components, utilizing Vue's `component` component to dynamically display the correct sub-component in the DOM.
Showing
This diff is collapsed.
Please register or sign in to comment