@flexireact/core 3.0.4 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2254,6 +2254,9 @@ var headers = {
2254
2254
  };
2255
2255
 
2256
2256
  // core/actions/index.ts
2257
+ import { useActionState, useOptimistic } from "react";
2258
+ import { useFormStatus } from "react-dom";
2259
+ import { useActionState as useActionStateReact } from "react";
2257
2260
  globalThis.__FLEXI_ACTIONS__ = globalThis.__FLEXI_ACTIONS__ || {};
2258
2261
  globalThis.__FLEXI_ACTION_CONTEXT__ = null;
2259
2262
  async function executeAction(actionId, args, context) {