Closed
Description
The @wordpress/api-fetch
package is super useful even outside of the context of the editor. In theory it would be a great package to use on the frontend of any WordPress site to interact with the WordPress Rest API.
Currently however it relies on the @wordpress/url
package which intern has a dependency on lodash
. Because of that the size of the @wordpress/api-fetch
npm package is 230 kB
making it un suitable for the sage on the frontend.
Activity