andi
The requested module 'solid-js/web' does not provide an export named 'use'
I have a monorepo setup with a solid-start main app, and some packages
One of the local packages has a dependency on https://github.com/andi23rosca/tiptap-solid
Trying to use the tiptap-solid package results in this error:
The requested module 'solid-js/web' does not provide an export named 'use'
And looking at the dist files of tipta-solid, the first line is importing that: import { use, insert, effect, className, spread, createComponent, Dynamic, mergeProps, template } from 'solid-js/web';
The weird thing is that there's an ssr test in tiptap-solid that mounts the component I'm trying to use and that works fine, so I'm not sure what could cause this issue in my solid-start app
Any help is appreciated 🙏1 replies
The requested module '/_build/node_modules/.pnpm/[email protected]/node_modules/debug/src/browser.js?v=d23
I published a new version of
solid-markdown
a while ago, and it broke a lot of people's imports with this error.
https://github.com/andi23rosca/solid-markdown/issues/33
The error seems related to number 4 here: https://github.com/solidjs-community/tsup-preset-solid?tab=readme-ov-file#usage-gotchas, but the fix doesn't work
Anyone got any ideas what it could be? :thinkalution:1 replies
solid-router, don't remount when component is the same between routes
Hi, let's say I have this simplified route config
When the user goes from
/
to /test
, the whole component remounts, even though it's the same one
Is there a way to force it to not re-mount it and only change the props?
Normally it wouldn't be an issue, but there's a background video in the hero section that flickers when the page switches (because it's re-mounting the dom)4 replies