0๐
As I understand it, do you want to render multiple notifications each time you receive new notifications data?
In such a case, you can use props
.
if you inject props
to notification component, the notification component will be re-rendered whenever the props
changes
example
<notification :notifications='notifications'><notification>
Source:stackexchange.com