after some experiments I change
public function mount() {
$this->entities = EntityModel::where('status','=',EntityStatusEnum::ACTIVE()->value)
->where('entitytypeid', '=', 1)
->orderBy('entityname')
->get(['entityid','entityname']);
}
public function click() {
}
to
public function mount() {
$this->entities = EntityModel::where('status','=',EntityStatusEnum::ACTIVE()->value)
->where('entitytypeid', '=', 1)
->orderBy('entityname')
->get(['entityid','entityname']);
}
public function click() {
$this->entities = EntityModel::where('status','=',EntityStatusEnum::ACTIVE()->value)
->where('entitytypeid', '=', 1)
->orderBy('entityname')
->get(['entityid','entityname']);
}
and the response time reduced to normal (a bit more then usual non livewire request)
It look like, to restore variable $entities from state need more time than get it from DB again