cheshire137 / gh-notifications-snoozer

Lists and filters and snoozing pull requests, oh my! This is an app for managing your notifications on GitHub by way of filtering issues and pull requests that are of interest to you.
MIT License
15 stars 10 forks source link

Better way of changing views #46

Open cheshire137 opened 8 years ago

cheshire137 commented 8 years ago

Currently App.jsx switches a state property to change which page is seen. Functions to set that state property are passed around to each view so that when a back link, cancel button, or other link is hit, the view changes. It'd be nice to centralize all that logic so a class could be included in each view instead of having to pass around individual functions.