// @ts-nocheck import React from "react"; const Context = React.createContext({}); const ContextProvider = ({ children }) => { const [cb, setCB] = React.useState(function () {}); const foo = true; return {children(foo)}; }; const ContextValue = ({}) => ( {foo => { if (foo) { return
Worked!
; } throw `Value "${foo}"" should be true`; }}
); const TestComponent = () => ( ); export function test() { const foo = ; return testDone(import.meta.url); } ner Unnamed repository; edit this file 'description' to name the repository.
aboutsummaryrefslogtreecommitdiff
path: root/bench/react-hello-world/react-hello-world.node.js (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2023-06-05wipGravatar Jarred Sumner 5-129/+241
2023-06-04wipGravatar Jarred Sumner 3-54/+44
2023-06-04fix some CLI thingsGravatar Jarred Sumner 1-8/+13
2023-06-04fixupGravatar Jarred Sumner 4-3/+4
2023-06-04Fix buildGravatar Jarred Sumner 1-1/+2
2023-06-04Add types and sample heapsnapshot for JSC and V8Gravatar Ashcon Partovi 4-0/+48475