Question

Optimise contact list requests in the RC widget

  • 5 December 2018
  • 2 replies
  • 2452 views

When routing to /contacts list page in the RC widget, getContact event will trigger. This flow will be get seems a bit not optimized, that need to get all the contacts again and again.

So better solution only get updated contact list when routing to /contacts and update the existing contacts.

Can you trigger any other event for getting contacts, since getContacts will trigger at the start.

Or is any way to get back the contacts then I can merge the updated contacts.


2 replies

Hi, Sharmilan. Thanks so much for feedback. Yes, you are right. The widget should only request updated contacts when user go to contacts page. I have create a issue to follow this. It will be updated in about a week. Will keep you updated.  https://github.com/ringcentral/ringcentral-embeddable/issues/169
Thank you Embbnux Ji, Can you make it as much as possible please?

Reply