solid
solid copied to clipboard
A declarative, efficient, and flexible JavaScript library for building user interfaces.
## Summary mergeProps provides the current standard way of adding default props to a component, but it has some weaknesses when it comes to typing (see #1526). defaultProps essentially adds...
## Summary Finally took the initiative. This one is the missing piece to SSR components, as it has some common use cases (e.g. rendering a component with web-only dependency). `solid-start`...
## Summary At the moment typescript only allow the following signatures for SetStoreFunction interface; ```js (setter): void; (k1, setter): void; (k1, k2, setter): void; (k1, k2, k3, setter): void; (k1,...
# THIS IS A BREAKING CHANGE This PR changes the behavior of Solid's error handling, mainly on the concept of "casting errors". Solid has an internal mechanism wrapping thrown values...
## Summary Context providers should not accept `undefined` by default. Example of previously correct code we'd like to avoid: ```tsx const MyContext = createContext() const someValue: string | undefined ......
## Summary I currently work on an application based on microfrontends (MFEs) architecture. We have several teams working on different parts of the application and we currently use React. Our...
## Summary Solid leaves type imports behind, causing some systems to try to import non-existing things at runtime. This relates to the node vs web structure. The app in question...
Also formatted with prettier, some unformatted code got by in previous commits. ## Summary Thanks @fabiospampinato for ideating and ending with this idea. Calling components as `Comp.call(Comp, props)` allows for...
### Describe the bug When I call move or zoom on the map it start to lag. ### Your Example Website or App http://localhost:3000 ### Steps to Reproduce the Bug...
### Describe the bug SolidJS produces hydration errors when resolving children that aren't attached to the DOM. Picture this: ```tsx const Component = (props) => { const resolvedChildren = children(()...