SolidJSS
SolidJSโ€ข12mo agoโ€ข
8 replies
snorbi

Reactive context in built-in components

I've looked into the source code of the core components, like: https://github.com/solidjs/solid/blob/fff8aed62b4bff78a0016c3c08ba644652ccac18/packages/solid/src/server/rendering.ts#L291
My question is: why are these components reactive at all? :]
I mean they seem to be simple JS functions, their code is not wrapped by the usual "reactive context" providers like JSX, createMemo(), etc.
Thanks.
Was this page helpful?