What is the use of 'schemas: [ NO_ERRORS_SCHEMA ]' in NgModule block in app.module.ts?



I have searched for need and use of schemas declaration in NgModule block which is preconfigured in nativescript with angular app. But i don’t get any proper solutions on this.


schemas: [

So please help me to understand in what situation, I need to go for that schemas declaration.

Thank you for reading, looking forward to reading your responses!


passing NO_ERRORS_SCHEMA tells the compiler not to error on unknown elements and attributes,

Is it too late to answer ? :slight_smile:


Got it @mayur. Any specific documents links are avail about this?