This repo is to demonstrate when a parent UIViewRepresentable is dismissed, its child view still get re-rendered.
- Run app, console should print 
1 appear - Tap 
To Normal 1 appearis printed on console, although we expect not to print anything as the parent view has been replaced by another view- If we comment out 
super.viewDidAppear(line 18 of UIHostingView.swift) orsuper.viewWillDisappear(line 24 of UIHostingView.swift), the message1 appearwill not be printed. However not callingsupermay cause other unwanted issues.