Hey there! I'm trying to render a certain amount of data once the user did some actions.
To store the data I'm using nanostore. How can I render data in my index.astro file once the store has changed?
Right now I'm trying it like this:
<div id="data-par" class="w-full h-full bg-weiss rounded-2xl p-4 flex flex-col gap-4">
{$services.listen(service => <Datacard service={service.values.name} data={data}/>)}
</div>
But it doesn't render anything, once the data changed. Although the console log is triggered by subscribing to the store..
Hope, anybody can help!