The Lightning Web Component has three decorators.
@api
@track
@wire
@api: If we want to pass any variable from Parent component to child component then we use @api decorator. To pass data to the child component, we need to define a variable with @api decorator in the child Read more…