Post

Re > Call functions when passing signals to JSX props Won't this make the whole component rerender instead of just the sunset of JSX that uses it? Since you're passing a plain value instead of the signal

This doesn't cause the parent to re-render. Solid compiles prop expressions into getters, so the signal read is deferred until the child accesses the prop in a reactive scope.

0 reposts0 likes

No replies yet.