Noop đ
A component that does... nothing!
Usage
A more practical usage of this is as a fallback component:
If none of the components key are found in the Component Registry, and error is thrown. To avoid this, just use Noop
as that last option. So in the example above, if Option1
and Option2
are not found, Noop
renders null instead.
Last updated