Back to Daily Feed 
SolidJS Compiler 2.0 RC.16: Source Maps & Server Component Refactor
Worth Reading
Originally published on SolidJS Releases
View Original Article
Share this article:
Summary & Key Takeaways
sourceNamesnow includes alocationskind, providingfile:line:colfor diagnostics.transform()gains arootoption to specify the base directory for source locations.createComponentand binding labels now carry source location information for better debugging.- Server components have removed binding slots, with client components in slots replacing them for client-side behavior.
- Related types, entries, position markers, and the
serverComponentscompiler option effect have been removed.
Our Commentary
The SolidJS compiler RC brings some solid DX improvements with source location reporting. Pinpointing exactly where an issue originates in compiled code is always a win. The removal of binding slots in server components is a more substantial architectural shift. It feels like a simplification, pushing towards a clearer separation of client and server concerns. I'm curious to see how this impacts existing server component patterns.
View Original Article
Share this article: