Pass data from Express up to Solid

I have already install and run npm run build, How can I pass data from express to solid just as how I would do it for EJS or Handlebars???
3 Replies
bigmistqke
bigmistqke2y ago
fetch? With express you can create different endpoints that you can make POST/GET/... requests to, like localhost:8000/someEndPoint. So the way how u call those endpoints with solid would be the same as you would use it anywhere else.
bigmistqke
bigmistqke2y ago
there is createResource that makes it a bit easier to handle fetched data, and any other async state changes (where it takes a bit before you get the result). a tutorial how to use it: https://www.solidjs.com/tutorial/async_resources
SolidJS
Solid is a purely reactive library. It was designed from the ground up with a reactive core. It's influenced by reactive principles developed by previous libraries.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server