Open
Description
API Platform version(s) affected: 3.1.15, react admin 3.4.4
Description
Duplicated requests to API without pagination parameters on page load, menu usage or pagination.
How to reproduce
I've just pasted the index.js file from docs
import React from 'react';
import ReactDOM from 'react-dom';
import {
AdminGuesser,
hydraDataProvider,
hydraSchemaAnalyzer,
} from '@api-platform/admin';
// Use your custom data provider or resource schema analyzer
// Hydra:
const dataProvider = hydraDataProvider({ entrypoint: 'http://localhost:63305' });
const schemaAnalyzer = hydraSchemaAnalyzer();
// OpenAPI:
const Admin = () => (
<AdminGuesser
dataProvider={dataProvider}
schemaAnalyzer={schemaAnalyzer}
/>
);
ReactDOM.render(<Admin />, document.getElementById('root'));
Edit: the problem is also visible on official app skeleton https://github.com/api-platform/api-platform/tree/v3.1.14
Additional Context
You can see these requests on this video: https://streamable.com/1pfy9s