Allow undefined root path
Update the app view saved state when id changes
Add support for `/` resources