Hi there! Thank you for the awesome library. I have built a few simple apps using rw and love the experience.
Now, I have come up with a need to have the react push notifications in the app. The need is really simple - there is a long running task my user is going to submit, and I want to notify them when the processing is finished. Very similar to a bell icon in the app, and notifications shown when user clicks on the bell but wanna show count on the bell dynamically as well.
I found this blog: Mastering Web-Push Notifications in React and Node: One-Stop Guide | by Ujjwal Jindal | Stackademic
I believe this is what I need. I guess I could follow it step by step and complete the task.
But I don’t wanna work harder than needed as I am running on a tight deadline. A quick search does not show anything related to push notifications for me. Even for a background worker, I only found Factory, but that is about it. (PS, I did only a cursory search and so I may have missed something obvious.)
Wondering if there is anything easy built inside redwood that can fulfill my need or my only option is to implement the blog in RedwoodJS? Similar to dbAuth - which has saved me hours and hours of time.
BTW, I am already using a webhook - which my backend server calls to notify Redwood’s app’s backend about task completion. I don’t know how to update the UI after webhook is being called. I guess I could go down the route of calling backend api every few seconds, but that doesn’t seem like the best idea. Would prefer to not have websockets in the project since that seems unnecessary complexity and also remember reading webhook related post on the community that they are not quite production ready yet (read sometime March this year, so I could already be wrong, lol)