solid-router
fastify-dx
solid-router | fastify-dx | |
---|---|---|
8 | 23 | |
1,062 | 924 | |
2.9% | - | |
9.0 | 0.0 | |
3 days ago | 5 months ago | |
TypeScript | JavaScript | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
solid-router
-
Building an E-commerce Store: A Step-by-Step Guide with Solidjs and Medusa
Solid Router - https://github.com/solidjs/solid-router
-
Fastify DX and SolidJS in the Real World
Fastify DX follows the same routing principles as Next.js and Remix. The first page is /pages/index.{js|ts} and other pages can be linked to by using solid-app-router. Dashboard would link to /pages/dashboard.{js|ts} and SolidJS Article would link to /pages/articles/[id].{js|ts}. SSR, Streaming etc. can be fine-tuned by exporting variables in the page. Check out the examples for streaming, SSR, etc. in the fastify dx starter kit
-
Routing with single page web application
Hello, I've recently created a single page web app with multiple routes. I'm using vercel for hosting and solid app router (https://github.com/solidjs/solid-app-router) for the router bit. When I go to my page on vercel and click on a link, for example, /help then reload the page it leads to 404 not found. If I go straight to that link it has the same error. In my dev environment it functions as I'd expect. After reloading it loads the help page. Is there a way to configure vercel to behave correctly?
-
Show HN: I made React with a faster Virtual DOM
Agree wrt. Solid being easier to reason about.
Is the router you are using solid-app-router [1] ? Have been working with it for last few months and it has been generally stable (my usecases are not particularly complex though).
The docs for the solidjs core has also massively improved recently.
[1] https://github.com/solidjs/solid-app-router
-
SolidJS vs. React: Comparing declarative UI libraries
With regards to third-party libraries, Solid does not have a lot yet, but it does have first-party libraries. Its first-party libraries are the equivalent of other popular libraries in other JavaScript libraries, such as Solid App Router for routing, Solid Testing Library for writing component tests, and Solid Transition Group for animations.
-
Add vite-plugin-pages to SolidJS
Since official SolidJS starter template are vite-based we can easily use vite-plugin-pages to create automatic routing a.k.a file based routing with official solid-app-router package.
-
Solidjs – JavaScript UI Library
Hmm.. Remix is based around their router. And a nested router is what we need to for Solid (see Solid App Router https://github.com/solidjs/solid-app-router). I think the challenge is that we don't render like React. Not at all. I've found most cases where that assumption exists to be incompatible.
That being said the work has already started on a starter with Nested Routing/Automatic File Based Routing + Code Splitting/Parallelized Data Fetching/Streaming SSR/Multiple deployment adapters. We're given it the same focus on performance that we've given the rest of Solid.
Here is the recent Vercel Edge Function demo we made with it: https://twitter.com/RyanCarniato/status/1453283158149980161
-
Solid vs React - the Fastest VS the Most Popular UI Library
Solid has an impressive collection of first-party tools developed by its creator - Ryan Carniato - and other contributors. There you’ll find Solid equivalents of some popular libraries from other ecosystems, like Solid Transition Group, Solid Refresh (for Hot Module Reloading - HMR), Solid App Router, and more!
fastify-dx
-
Fastify GraphQL API Stack: with Mercurius & Nexus
Fastify DX is in the pipeline. It brings Vite-powered front end solutions in Svelte, React and other frameworks to Fastify and is already in alpha. This will let you create full stack apps using Fastify together with your preferred frontend.
-
Ask HN: What are the best GitHub READMEs you've seen?
The table layout and example formatting of "The Universal Route Module API Specification" is quite good: https://github.com/fastify/fastify-dx/blob/main/URMA.md
-
Fastify DX and SolidJS in the Real World
SolidJS ranked #1 in the 2021 "State of JS Front-End Frameworks", so we wanted to see what the fuzz is about and give it a proper chance with a side project. We started with a simple Single Page Application (SPA) and a few components but wanted to add data with GraphQL. For GraphQL we needed some sort of authentication, to identify users. This quickly turned more complex day by day. The biggest pitfalls and challenges were understanding Reactivity in SolidJS and the use of context providers. Last but not least, we wanted to add some server-side rendering capabilities, which lead to a three week rabbit hole of reading SolidJS code, Fastify Vite and lots of trial and error. Fortunately, Jonas Galvez was already working on Fastify DX a new full stack framework based on Fastify and Vite, where he added support for SolidJS as well. A nice side effect was that we not only have server-side rendering, but also async rendering, streaming web components/html streaming1 available, which is pretty awesome. As most of this is new and a lot of those technologies are barely documented past "Hello World" or "Todo List", we decided to extract the most important/difficult parts of our project into this "Real World Application with SolidJS and Fastify DX".
-
Hacker News top posts: Jul 12, 2022
Show HN: Fastify DX, a full stack framework based on Fastify and Vite\ (0 comments)
- Show HN: Fastify DX, a full stack framework based on Fastify and Vite
- Fastify DX: Full Stack Framework Built on Top of Fastify and Vite
- Fastify DX for Solid
What are some alternatives?
solid-transition-group - SolidJS components for applying animations when children elements enter or leave the DOM.
astro - The web framework for content-driven websites. ⭐️ Star to support our work!
solid - A declarative, efficient, and flexible JavaScript library for building user interfaces.
fastify-vite - Fastify plugin for Vite integration.
solid-refresh
vite-ssr - Use Vite for server side rendering in Node
js-framework-benchmark - A comparison of the performance of a few popular javascript frameworks
developers
lume - Create 3D web applications with HTML. Bring a new depth to your DOM!
fastify-dx-solidjs-example - Real world app using Fastify-DX, Solid.js, Auth0 and GraphQL
mikado - Mikado is the webs fastest template library for building user interfaces.
Prisma - Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB