import { For, Match, Switch, createEffect, type Component } from "solid-js"; import { useCountContext } from "./Config"; export const Nested: Component = () => { const [{ machines, loading }, { getMachines }] = useCountContext(); const list = () => Object.values(machines()); createEffect(() => { console.log("1", list()); }); createEffect(() => { console.log("2", machines()); }); return (
Loading... No machines found {(entry, i) => (
  • {i() + 1}: {entry.machine_name}{" "} {entry.machine_description || "No description"}
  • )}
    ); };