Why do I end up with a server-fns for a number input component?
I noticed in the build log these lines (see attachment).
I do not understand why I have the InputNumber component in the server fns assets:
.vinxi/build/server-fns/_server/number-input.mjs 0.90 kB
This is the component itself:
This feels wrong. Am I misinterpreting the build output logs? What should I search to understand what is happening?4 Replies
@binajmen , what do you see if you instead use this version of start?
npm i https://pkg.pr.new/@solidjs/start@1715
We recently did a refactor of how the server functions work
https://github.com/solidjs/solid-start/pull/1715
GitHub
refactor: adopt @tanstack/server-functions-plugin by brenelz · Pull...
Resolves #1735
Replace @vinxi/server-functions with @tanstack/server-functions-plugin
I might need to stop using
"use server"
in classes before transitioning:Was that the new "release candidate" version of solid start?
with the one you suggested me:
npm i https://pkg.pr.new/@solidjs/start@1715