You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.