This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rust 17 hrs 17 mins ████████▋░░░░░░░░░░░░ 41.3% | |
TypeScript 14 hrs 15 mins ███████▏░░░░░░░░░░░░░ 34.0% | |
Markdown 3 hrs 54 mins █▉░░░░░░░░░░░░░░░░░░░ 9.3% | |
JSON 1 hr 56 mins ▉░░░░░░░░░░░░░░░░░░░░ 4.6% | |
Other 1 hr 32 mins ▊░░░░░░░░░░░░░░░░░░░░ 3.7% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { createVirtualizer } from "@tanstack/solid-virtual" | |
import { createSignal, Index, onMount } from "solid-js" | |
export default function Test() { | |
const defaultNumbers = [1, 2, 3, 4, 5] | |
const [parentRef, setParentRef] = createSignal<HTMLElement>() | |
const [numbers, setNumbers] = createSignal<number[] | undefined>( | |
defaultNumbers | |
) |