I'm using a filter when iterating over elements to narrow results but the problem is it seems as though once the elements within the <For> tag have been rendered changing the signal and calling it within is not rerendering the element. Is there a way to force this behavior or should I take a different approach with this?
<For
each={listings()
.reverse()
.filter((listing: Listing) => {
if (seasonFilter() === "") return true;
console.log("ran");
return seasonFilter() === listing.season;
})}
>