const fetchUser = async (id) => (await fetch(`https://swapi.dev/api/people/${id}/`)).json();
const [user] = createResource(1, fetchUser); console.log(user())
ยฉ 2026 Hedgehog Software, LLC