Posts Component
Closed this issue · 0 comments
royboy789 commented
Single component architecture for list/single -
UI to have "active" state with minimal data and link to post.
- Clean up MVP code use object deconstruction
- New Method:
changeActivePost( post : RedditPost )
- Add Testing
- Test input array length matches UI length
- Test empty array length matches corresponding UI
- Test changeActivePost click changes active post object
- Test active ui activated properly on changeActivePost fire