gh680
Disappearing button text?
I have a Button component whose text disappears - it initially renders, then goes away. The text node itself is gone from the DOM. Can't understand what's happening.
Repo #1 is a UI library package. It has a Button component:
In repo #2, I import the Button for a login page:
Anything jump out at anybody? I think I've seen this before, where testing a UI component in the same repo is fine, but when imported for use in another project, I've seen text nodes get yeeted. Thanks for taking a look.
8 replies
Can't get createServerData$ to work as expected
I have other projects that use routeData / createServerData$ / useRouteData that work fine. This one is giving me fits.
In the below, trying to read the records() accessor gives me "records is not a function"
My prisma schema/client are cool, typings there are good. I've reduced the code to a minimal example and it still doesn't work. I've tried everything I know, and still no joy. Ideas anyone? Thanks
8 replies