Hey Ryan!
I've resumed my work on researching efficient rendering strategies for conditional paths. I tried to create a benchmark between Solid and Ivi looking at conditionals inside map. Below is an example code:
<Show when={state.done === false}>
<For each={array}>
{x => {
return <For each={array}>
{y => {
if (x > y) {
return <div>Ok</div>
}
return null;
}}
</For>
}}
</For>
</Show>
How did you approach this? Basically, if you have a map -> condition -> map -> condition situation, do you render it inside out or outside in?
Hey Ryan!
I've resumed my work on researching efficient rendering strategies for conditional paths. I tried to create a benchmark between Solid and Ivi looking at conditionals inside map. Below is an example code:
How did you approach this? Basically, if you have a map -> condition -> map -> condition situation, do you render it inside out or outside in?