itsyoboieltr
itsyoboieltr
Explore posts from servers
SSolidJS
Created by itsyoboieltr on 11/30/2023 in #support
Is there a way to use the <For> component with an array of inputs?
everytime I type in one if the inputs output by <For>, I lose focus, because it gets rerendered 😦
4 replies
SSolidJS
Created by itsyoboieltr on 11/25/2023 in #support
createStore default value with anonymous function
In react I would do something like:
const [array, setArray] = useState(() => {
/* some computation */
return [...data];
});
const [array, setArray] = useState(() => {
/* some computation */
return [...data];
});
Can I do something similar with solid?
6 replies
SSolidJS
Created by itsyoboieltr on 10/3/2023 in #support
React.isValidElement(element)
Is there a similar function in solid?
3 replies