Hacker News new | ask | show | jobs
by whizzter 75 days ago
Far cleaner, how is testability though?
1 comments

Very easy - mock the useNotifications and you can easily see all the behaviour by changing three properties.