Parent view displays a list of items. This view has button add a new item to list wich open modal for creating a new item.
Two approaches how to do that:
1) POST Request -> Insert from response body new list item to the parent view
2) POST Request -> Notify parent view that new item created -> Parent view will do GET request which returns the full list of items and view rerenders
The first approach is commonly used. But the second approach gives some feeling of overkill. The first approach uses one request to the server, but the second two request to the server.
It is ok after POST request notify parent view to create a GET request to get all items that update view after creating? If it is ok when is it ok to use?