AesthetiCoder
Is solids SEO friendly ?
Analyzing the webpage solid generate in production I get problems whit SEO, the same problem that react has, only the div with id root is render, yes the actual page has content but is not reflected in the html, other times I see that the first render of solid is the empty div and then it add the html after, how can I prevent this to happens
10 replies
A vs Link
hello guys I have some question about solid-router, for example, there are two ways of navigating in solid Router the Link component and the A component, what is the differences between those, and also when we use solid-router, we are using SSR by default? for example in the docs I see you have to use
renderToString
to serve SSR components, by default solid is not SEO friendly as I see maybe I am wrong8 replies
splitProps default value
how can i define the default value of a prop with split prop, for example the "loader" prop is optional i want tha make it true by default, but it is undefined
yes i can use a ternary and validate the value but i want to set the default value if it is possible
3 replies
Re render on filter in a for
I have an animation that runs when the element is visible with an observable the problem is after the first animation is all good but I have a button that filters that for, and when it gets filtered it doesn't re-render
I solve this in react by changing the key of the element so react detects that the filter is a new element every time, how can this be done in solid?
2 replies
How is the type of the onclick event ?
Hello I have a question about the on-click method of the button, the event doesn't have a type, the type is something like this, is that the real type? it should be one type only for the event
11 replies
Dinamyc inline svg
hi everyone, good night i have a question, i am new whit solid js and i want to make a component that can render svg dynamically, these svg are in my public directory, so an example of this cloud be react-svgr, his library can import the svg an render as a component, the result is a inline svg and ou can change his props
https://react-svgr.com
I saw this method in react to import dinamically a svg, it is posible to make this in solidjs ?
https://stackoverflow.com/questions/61339259/how-to-dynamically-import-svg-and-render-it-inline
6 replies