import and export keywords.

Components have to be nested into the main component using import and export keywords.

Export:


The export feature is used to export a particular module(file) and use it in another module (file).

Import:


The import feature is used to import a particular module(file) and use it in another module (file).

Comments

Popular posts from this blog

Sri Lankan IT industry & companies

Find Odd & Even number - pseudocode