@wire with dynamic parameters
Call to apex method using @wire is executed at the time component loads. But suppose we want to make server call when a particular parameter changes.
So for that we can @wire an apex method with a dynamic parameter. We need to pass a parameter with “$” appended to it while making call to apex method. So, once the value of this property changes, call to apex is made at that time.