WP 5.3 apiFetch problems
-
Hi, guys!
After updating WordPress to version 5.3 i can’t use
import apiFetch from '@wordpress/api-fetch';
i’m getting following error:
TypeError: "_wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_12___default(...) is not a function"
my package.json:
{ "name": "test-block", "version": "1.0.0", "scripts": { "start": "wp-scripts start", "build": "wp-scripts build" }, "devDependencies": { "@wordpress/scripts": "5.1.0" }, "dependencies": { "@wordpress/api-fetch": "^3.6.4" } }
do you have any suggestions on how to fix that?
thank you!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘WP 5.3 apiFetch problems’ is closed to new replies.