Minoo
Minoo
SSolidJS
Created by Minoo on 4/10/2024 in #support
Example in solid-testing-library example not working
Hello, the can render a route with the id test in the solid-testing-library https://github.com/solidjs/solid-testing-library/blob/main/src/__tests__/routes.tsx does not work for me. I get that:
FAIL src/test/pages/Drone-view.test.tsx > location option > can render a route with the id
TestingLibraryElementError: Unable to find an element with the text: Id: 1234. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
FAIL src/test/pages/Drone-view.test.tsx > location option > can render a route with the id
TestingLibraryElementError: Unable to find an element with the text: Id: 1234. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
I tried using this test because I have issues testing components used in routes and using the location param to navigate to a route while testing does not work at all
1 replies
SSolidJS
Created by Minoo on 4/10/2024 in #support
"<A> and 'use' router primitives can be only used inside a Route." When testing component in router
No description
3 replies
SSolidJS
Created by Minoo on 2/27/2024 in #support
Does FileRoutes only work for Solid-Start, and not in normal solid js?
I can't seem to get it to work in solid-js + vite
3 replies
SSolidJS
Created by Minoo on 2/21/2024 in #support
How do I upgrade a solid-start project to use the latest version of solid-start
I found a project that uses solid-start and actually has a working PWA. But it is from february 2023 and I want to update it to the newest version of solid-start and its current structure. Is this possible and how? The current version is ^0.2.20 (The repo in question: https://github.com/seeplusplus/solid-start-vite-pwa)
4 replies
SSolidJS
Created by Minoo on 2/17/2024 in #support
SolidStart or Vite + solid-pwa plugin for creating a fast and secure PWA app?
I want to create a PWA app using Solid. I am not decided on if I want to use CSR or SSR but I'm leaning towards SSR. But should I choose SolidStart or Vite with a solid-pwa or a startup template for vite and solid like this: https://github.com/xbmlz/vitesse-solid that has the pwa plugin. Also when developing the PWA can I use google workbox or is that something else?
22 replies