XxX_MLG Noob_XxX
Is the `solid-element` library still being maintained?
I'm working with an engineering team at
SuperTokens
to create a set of reusable Web Components, and the team was interested in using solid-element
to get the job done. However, there doesn't seem to be extensive documentation for this tool, and it hasn't gotten an update for quite some time.
Is the recommendation to use something else like lit-html
for creating Web Components? And is it safe to assume that solid-element
is "Use at your own risk", or will it be getting more attention later?47 replies
Does SolidStart Have a Global `Context` That Server Functions Can Use?
Other SSR frameworks have a concept of a "
context
" that is globally available to all server functions. For instance, Svelte Kit has event.locals
(https://kit.svelte.dev/docs/load#shared-state), which can be set at the server entry point (hooks.server.ts
). This context info is then available to all of the server data loaders.
Similarly, Remix passes a context
argument to its loader
and actions
. The value of context
can be set by getLoadContext
(https://remix.run/docs/en/v1/route/loader#context).
Does SolidStart have anything similar? Or are there at least plans to add something like this in the future? Having a global context is really helpful when it comes to user identifiers.8 replies