Code & Deploy
siGit Code
Git Hosting
Toggle menu
Code
Code Review
Models
Repos
Sign in
Sign in
@samitouri
/
QOS-React-2
QOS-React-2
/
compiler
/
packages
/
babel-plugin-react-compiler
/
src
/
__tests__
/
fixtures
/
compiler
/
hook-call.js
Code
Commits
Issues
Pulls
Sessions
CI/CD
main
main
js
14 lines
197 Bytes
Copy permalink
Copy
Raw
1
function
useFreeze
()
{}
2
function
foo
()
{}
3
4
function
Component
(
props
)
{
5
const
x
=
[];
6
const
y
=
useFreeze
(
x
);
7
foo
(
y
,
x
);
8
return
(
9
<
Component
>
10
{
x
}
11
{
y
}
12
<
/Component
>
13
);
14
}