Adding an undefined component should warn and not save the template.
For example adding <. whatever /> into a page template, and assuming that component doesn't exist anywhere, it should not let the user save the page and display a compilation error, similar to when a template syntax is invalid.