Llamar a una función asíncrona dentro del hook useEffect en React Function Components

Si habéis intentado llamar a una función asíncrona dentro del hook de useEffect es posible que os hayáis encontrado con un error que no os lo permite: Argument of type '() => Promise<void>' is not assignable to parameter of type 'EffectCallback'. El error aparece al intentar añadir el "async", pero no se puede asignar la …

Sigue leyendo Llamar a una función asíncrona dentro del hook useEffect en React Function Components

ERROR: Retrieving the COM class factory for component with CLSID {‘XXX…’} failed due to the following error: 80040154

ERROR Retrieving the COM class factory for component with CLSID {'XXX...'} failed due to the following error: 80040154. CAUSE You're trying to build your project in x86 and you've to do it in x64. SOLUTION 1. Go To Your Project Properties. 2. Select 'Build' (Left Tabs). 3. Change the property 'Platform Target' to 'Any CPU' …

Sigue leyendo ERROR: Retrieving the COM class factory for component with CLSID {‘XXX…’} failed due to the following error: 80040154