Jake Boone
Jake Boone
SSolidJS
Created by Jake Boone on 1/17/2024 in #support
Share JSX code with a React codebase?
The more I think about it, I do realize smoothing over some of the differences would be awkward at best. The component files don't change much, anyway. The custom hooks are really the meat of the library. Oh well. Thanks again!
8 replies
SSolidJS
Created by Jake Boone on 1/17/2024 in #support
Share JSX code with a React codebase?
thanks, btw
8 replies
SSolidJS
Created by Jake Boone on 1/17/2024 in #support
Share JSX code with a React codebase?
I can refactor the destructured stuff, so that's not an issue. I don't have anything in the JSX itself that is specific to React or any other framework, so the actual file content would be identical. I realize Solid will treat it differently, and of course TypeScript will probably have a fit. I just don't want to maintain a bunch of identical files.
8 replies