Far cleaner, how is testability though?
Very easy - mock the useNotifications and you can easily see all the behaviour by changing three properties.
Very easy - mock the useNotifications and you can easily see all the behaviour by changing three properties.