@YourFavoriteKyle
Posted
For Svelte, I would recommend using Svelte stores to pass around the advice response.
Import getQuote into your Card.svelte component, and when you call it, set the store value to the response.
From there, you can reference the stores values in your Title and Quote components parameters. You can check out my repo if you need to.
https://github.com/YourFavoriteKyle/advice-generator-app-main
I hope this helps!
@Jukiyoomi
Posted
@YourFavoriteKyle Thank you for your response, I will try your idea.