When school names are added to schools.json, the app gets prohibitively sluggish. This is because the Select component is rendered constantly on map pan. This okay for 1200 admin names, but not 40k schools names.
Quick fix is to remove school names from Select until solution is found to only have createFilterOptions({options})} when options change.
When school names are added to schools.json, the app gets prohibitively sluggish. This is because the Select component is rendered constantly on map pan. This okay for 1200 admin names, but not 40k schools names.
Quick fix is to remove school names from Select until solution is found to only have createFilterOptions({options})} when options change.