// Copyright 2025 The Lynx Authors. All rights reserved. // Licensed under the Apache License Version 2.0 that can be found in the // LICENSE file in the root directory of this source tree. import { root } from "@lynx-js/react"; import { books } from "./book.js"; import { type Book } from "./book.js"; import { ProductCard } from "./ProductCard.jsx"; const ListContainer = () => { let data: Book[] = []; for (let i = 0; i < 5; i++) { data = books.concat(books); } return ( {data.map((book: Book, index) => { return ( ); })} ); }; root.render(); if (import.meta.webpackHot) { import.meta.webpackHot.accept(); }