Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F3076328
app.jsx
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
385 B
Referenced Files
None
Subscribers
None
app.jsx
View Options
import
{
render
}
from
'https://esm.sh/preact-render-to-string'
;
const
App
=
()
=>
(
<
div
id
=
"root"
>
<
h1
>
Hello
from
Preact
!
</
h1
>
<
p
style
=
"color:red;font-size:16px"
>
Styled
text
</
p
>
<
input
type
=
"text"
disabled
/>
<
ul
>
<
li
>
No
Babel
</
li
>
<
li
>
No
Webpack
</
li
>
<
li
>
Just
Preact
</
li
>
</
ul
>
</
div
>
);
const
html
=
render
(<
App
/>);
console
.
log
(
html
);
File Metadata
Details
Attached
Mime Type
application/javascript
Expires
Sat, Apr 4, 3:15 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
521697
Default Alt Text
app.jsx (385 B)
Attached To
Mode
rANT Ant
Attached
Detach File
Event Timeline
Log In to Comment