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
/
capturing-function-decl.js
Code
Commits
Issues
Pulls
Sessions
CI/CD
main
main
js
14 lines
201 Bytes
Copy permalink
Copy
Raw
1
function
component
(
a
)
{
2
let
t
=
{
a
};
3
function
x
()
{
4
t
.
foo
();
5
}
6
x
(
t
);
7
return
t
;
8
}
9
10
export
const
FIXTURE_ENTRYPOINT
=
{
11
fn
:
component
,
12
params
:
[
'
TodoAdd
'
],
13
isComponent
:
'
TodoAdd
'
,
14
};