mirror of
https://github.com/facebook/react.git
synced 2026-02-26 04:04:59 +00:00
9 lines
140 B
JavaScript
9 lines
140 B
JavaScript
function f(a) {
|
|
let x;
|
|
(() => {
|
|
x = {};
|
|
})();
|
|
// this is not reactive on `x` as `x` is never reactive
|
|
return <div x={x} />;
|
|
}
|