solid-icons icon indicating copy to clipboard operation
solid-icons copied to clipboard

fix: mergeProps import

Open rtritto opened this issue 1 year ago • 2 comments

Using eslint-plugin-solid dependency.

Fix

9:20  warning  Prefer importing mergeProps from "solid-js"                                                           solid/imports

rtritto avatar Sep 25 '24 18:09 rtritto

Hi @rtritto , can you tell me why this change is necessary? It seems to fix the fact that the solid-js exports for mergeProps have changed, but does it fix anything else?

x64Bits avatar Sep 27 '24 03:09 x64Bits

mergeProps is moved from solid-js/web to solid-js. The import from solid-js/web is deprecated.

rtritto avatar Sep 27 '24 07:09 rtritto