Updating External Components

Hi,

I’ve run into an issue where I have 2 components, one for displaying reviews and another for submitting reviews (inside a modal)

The issue is, when I submit a review from the modal component how can I trigger the other component to re-render / update ?

Hey, @AtomCoder

You can emit an event after the review submitted successfully, then you can fire an event.

For more info see Events Section in the doc

1 Like

Hi @skywalker,

Yes that did the trick. Thanks for your help!

Hey, @AtomCoder

I’m glade that my answer solved your problem.

Happy Coding mate :slight_smile:

1 Like