Replies: 1 comment 1 reply
-
Hi @nksaraf, Quick question for you regarding these lifecycle hooks. I am using solidStart and would like to generate a sitemap during the build. I've looked through the vinxi code and can't quite figure out where exactly I could add something like that with solidStart. Ideally it would be after the router is built. Whats the best way to add hooks? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Now that the base implementation is getting stable and proving itself to be quite flexible, I want to figure out the UX and composition story. Right now you need an app.config.js to do anything server related. This makes it difficult to enable an experience I really wish to enable. A powerful CLI that can compose functionality from NPM on the fly to build up an app config.
I want to introduce the concept of
stacks
. They are the equivalent ofVite
plugins but for the app itself, so more wide-reaching. Invinxi
,vite
plugins are applied to routers, since each one has its own dev/build pipelines.Stacks
are the equivalent extension point for the app itself.With the ability to hook into the system using the
hookable
hooks, we can create a really composable setup where functionality can be bundled up and comsumed easily across the ecosystem. Whatever you can do with stacks, you will be able to do with the hooks themselves too. Maybe we can keep the naming the same too.So, what is a stack?
Beta Was this translation helpful? Give feedback.
All reactions