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
Since the SDK includes the shared package which itself includes vuejs, there is a confilct in the definition of VNode with preact.
Type 'VNodeNormalizedRefAtom' is not assignable to tyoe 'Ref<any> | null | undefined'
In the file node_modules\@vue\runtime-core\dist\runtime-core.d.ts , the interface VNode is declared with ref: VNodeNormalizedRef | null;.
In the file node_modules\preact\src\internal.d.ts, the interface VNode is declared with ref?: Ref<any> | null;.
Why the JS SDK requires VueJS ?
According to me, it should not depend on a specific UI framework/library.
To Reproduce
Create a project with preact and the JS SDK.
Errors Shown
No response
What version of Directus are you using?
9.11.1
What version of Node.js are you using?
17.4.0
What database are you using?
MySQL
What browser are you using?
Firefox
How are you deploying Directus?
locally
The text was updated successfully, but these errors were encountered:
Describe the Bug
Since the SDK includes the shared package which itself includes vuejs, there is a confilct in the definition of
VNode
with preact.Type 'VNodeNormalizedRefAtom' is not assignable to tyoe 'Ref<any> | null | undefined'
In the file
node_modules\@vue\runtime-core\dist\runtime-core.d.ts
, the interfaceVNode
is declared withref: VNodeNormalizedRef | null;
.In the file
node_modules\preact\src\internal.d.ts
, the interfaceVNode
is declared withref?: Ref<any> | null;
.Why the JS SDK requires VueJS ?
According to me, it should not depend on a specific UI framework/library.
To Reproduce
Create a project with preact and the JS SDK.
Errors Shown
No response
What version of Directus are you using?
9.11.1
What version of Node.js are you using?
17.4.0
What database are you using?
MySQL
What browser are you using?
Firefox
How are you deploying Directus?
locally
The text was updated successfully, but these errors were encountered: