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
/
dependencies-outputs.js
Code
Commits
Issues
Pulls
Sessions
CI/CD
main
main
js
20 lines
266 Bytes
Copy permalink
Copy
Raw
1
function
foo
(
a
,
b
)
{
2
const
x
=
[];
3
x
.
push
(
a
);
4
<
div
>
{
x
}
<
/div>
;
5
6
const
y
=
[];
7
if
(
x
.
length
)
{
8
y
.
push
(
x
);
9
}
10
if
(
b
)
{
11
y
.
push
(
b
);
12
}
13
return
y
;
14
}
15
16
export
const
FIXTURE_ENTRYPOINT
=
{
17
fn
:
foo
,
18
params
:
[
'
TodoAdd
'
],
19
isComponent
:
'
TodoAdd
'
,
20
};