backstage-plugin-announcements icon indicating copy to clipboard operation
backstage-plugin-announcements copied to clipboard

🚀 Feature: useAnnouncements hook

Open kurtaking opened this issue 1 year ago • 0 comments

🔖 Feature description

Create a custom useAnnouncements react hook

🎤 Context

Having a reusable hook for react components would be nice to have. There are several areas were we load announcements on the front end. Having that functionality consolidated into a single reusable hook would be more efficient.

✌️ Possible Implementation

useAnnouncements(opts: AnnouncementsRequestOpts) ...

👀 Have you spent some time to check if this feature request has been raised before?

  • [X] I checked and didn't find similar issue

Are you willing to submit PR?

Yes I am willing to submit a PR!

kurtaking avatar Feb 04 '24 08:02 kurtaking