Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
I have to fetch initial information in a component, how do I do it? - SolidJS
S
SolidJS
โข
3y ago
โข
1 reply
pronoob
I have to fetch initial information in a component, how do I do it?
const App
: Component
=
(
)
=
>
{
const resp
= await fetch
(
.
.
.
)
;
/
/ show Home component after fetch is completed
}
SolidJS
Join
Solid is a declarative reactive Javascript library for creating user interfaces.
12,274
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
How do i fetch data correctly in a route?
S
SolidJS / support
2y ago
Say I have a `Card` component, How can I have a `Card.Header` component?
S
SolidJS / support
3y ago