Get terms of a taxonomy using useSelect

If you use the _fields argument, then it needs to include id. Otherwise, getEntityRecords() will always return a null, even if the REST API request succeeded.

So to fix the issue in question, you just need to add id to your args, i.e. _fields: 'id,name,slug'.

You should also know that per_page is limited to 100, so even if you set it to a greater number or even -1 (which means all), the value is always set to max 100.