weixin_39946327
weixin_39946327
2020-12-09 09:46

Decouple fetching events from rendering logic/use TS/add events card

In order to add Events card to Dashboards I needed to refactor events.jsx to be able to render events in a way which fits.

I decoupled fetching events logic from rendering and put it into utils/events-stream.tsx I also updated events page - its using utils/events-stream.tsx and I also added types for events page.

events

该提问来源于开源项目:openshift/console

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

8条回答

为你推荐

换一换