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
In the current version of the merge function from the @halvaradop/tailwindcss-merge package, it returns a promise. This behavior forces users to use the merge function only in server-side components. This is problematic because many components in a project are rendered on the client side, making the merge function unusable in those components.
Additionally, the className and class attributes for React and HTML do not support asynchronous processing, which conflicts with the current behavior of the merge function.
constmerge: (classes: string)=>Promise<string>;
The text was updated successfully, but these errors were encountered:
In the current version of the
merge
function from the@halvaradop/tailwindcss-merge
package, it returns a promise. This behavior forces users to use the merge function only in server-side components. This is problematic because many components in a project are rendered on the client side, making the merge function unusable in those components.Additionally, the
className
andclass
attributes for React and HTML do not support asynchronous processing, which conflicts with the current behavior of the merge function.The text was updated successfully, but these errors were encountered: