FunctionalTableData icon indicating copy to clipboard operation
FunctionalTableData copied to clipboard

Implement a reusable case

Open TheoBdev opened this issue 8 years ago • 2 comments

What

Right now, updateView is not clear enough about reusability.

Suggested approach

@robinsenior mentioned http://khanlou.com/2017/03/that-one-optional-property/ :

enum UseCase {
    case prepareForReuse
    case update(LabelState)
}

TheoBdev avatar Nov 28 '17 16:11 TheoBdev

I think that's a great Idea and would prevent people from forgetting to prepare for reuse 👏

BenEmdon avatar Nov 28 '17 16:11 BenEmdon

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 3 days if no further activity occurs.

stale[bot] avatar Apr 19 '18 09:04 stale[bot]