Skip to content

Question: Which universal http library would you use? #454

Answered by BeneStem
BeneStem asked this question in Q&A
Discussion options

You must be logged in to vote

If you are interested, I was able to make an example run using fetch on the client side and using a database connection when server side rendering...
The hint regarding isServer was exactly right!

You can find the full example here: https://gitlab.com/BeneStem/es4x-flower
And the part where I am fetching the data here: https://gitlab.com/BeneStem/es4x-flower/-/blob/master/src/client/page/Products.tsx#L12

If you have any time to give me feedback or some hints would be great.

Maybe we can use this "starter"-like example project somewhere to make it easier for ppl to start with solid...

Anyways, great work, I love this framework!

Replies: 4 comments 9 replies

Comment options

You must be logged in to vote
1 reply
@BeneStem
Comment options

Comment options

You must be logged in to vote
4 replies
@ryansolid
Comment options

@BeneStem
Comment options

@ryansolid
Comment options

@BeneStem
Comment options

Comment options

You must be logged in to vote
3 replies
@BeneStem
Comment options

@BeneStem
Comment options

@amoutonbrady
Comment options

Comment options

You must be logged in to vote
1 reply
@BeneStem
Comment options

Answer selected by BeneStem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #453 on May 15, 2021 20:10.