JSX in Tonic

node v0.12.18
version: 1.0.0
endpointsharetweet
Tonic supports JSX right out of the box. Make sure to include React and you're all set to go:
var React = require("react"); var myGreatReactElement = <div>Hello World!</div>; React.renderToString(myGreatReactElement);
You'll notice that we used renderToString instead of render. That's because Tonic is a node environment. Tonic is a great way to test server rendering for React. To learn more about React, check out https://facebook.github.io/react/docs/getting-started.html
Loading…

40 comments

  • posted 5 years ago by 5dab241ba284c40013cbf083
    https://tonicdev.com/tonic/jsx-in-tonic
  • posted 5 years ago by 5debaae293d788001a9ec11a
    magnet:?xt=urn:btih:989408b3da7d4991b56e2e0ec811ec8da4c3f272&dn=www.TamilRockers.ws%20-%20Evanukku%20Engeyo%20Matcham%20Irukku%20(2018)%5bProper%20Tamil%20-%201080p%20HDRip%20-%20x265%20-%20HEVC%20-%201.5GB%20-%20ESubs%5d.mkv&tr=udp%3a%2f%2ftracker.coppersurfer.tk%3a6969%2fannounce&tr=udp%3a%2f%2ftracker.pirateparty.gr%3a6969%2fannounce&tr=udp%3a%2f%2ftracker.tiny-vps.com%3a6969%2fannounce&tr=udp%3a%2f%2fopen.demonii.si%3a1337%2fannounce&tr=udp%3a%2f%2fipv4.tracker.harry.lu%3a80%2fannounce&tr=udp%3a%2f%2ftw.opentracker.ga%3a36920%2fannounce&tr=udp%3a%2f%2fdenis.stalker.upeer.me%3a6969%2fannounce&tr=http%3a%2f%2ft.nyaatracker.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce&tr=udp%3a%2f%2fopen.stealth.si%3a80%2fannounce&tr=udp%3a%2f%2fbt.xxx-tracker.com%3a2710%2fannounce&tr=udp%3a%2f%2ftracker.vanitycore.co%3a6969%2fannounce&tr=http%3a%2f%2ftracker.city9x.com%3a2710%2fannounce&tr=udp%3a%2f%2ftracker.internetwarriors.net%3a1337%2fannounce
  • posted 5 years ago by 5debaae293d788001a9ec11a
    magnet:?xt=urn:btih:989408b3da7d4991b56e2e0ec811ec8da4c3f272&dn=www.TamilRockers.ws%20-%20Evanukku%20Engeyo%20Matcham%20Irukku%20(2018)%5bProper%20Tamil%20-%201080p%20HDRip%20-%20x265%20-%20HEVC%20-%201.5GB%20-%20ESubs%5d.mkv&tr=udp%3a%2f%2ftracker.coppersurfer.tk%3a6969%2fannounce&tr=udp%3a%2f%2ftracker.pirateparty.gr%3a6969%2fannounce&tr=udp%3a%2f%2ftracker.tiny-vps.com%3a6969%2fannounce&tr=udp%3a%2f%2fopen.demonii.si%3a1337%2fannounce&tr=udp%3a%2f%2fipv4.tracker.harry.lu%3a80%2fannounce&tr=udp%3a%2f%2ftw.opentracker.ga%3a36920%2fannounce&tr=udp%3a%2f%2fdenis.stalker.upeer.me%3a6969%2fannounce&tr=http%3a%2f%2ft.nyaatracker.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce&tr=udp%3a%2f%2fopen.stealth.si%3a80%2fannounce&tr=udp%3a%2f%2fbt.xxx-tracker.com%3a2710%2fannounce&tr=udp%3a%2f%2ftracker.vanitycore.co%3a6969%2fannounce&tr=http%3a%2f%2ftracker.city9x.com%3a2710%2fannounce&tr=udp%3a%2f%2ftracker.internetwarriors.net%3a1337%2fannounce
  • posted 5 years ago by alfian878787
    KrKrKrKsKrKrKrKss
  • posted 5 years ago by 5e9cbcde05f809001a6ec132
    To learn more about React, check out https://facebook.github.io/react/docs/getting-started.html
  • posted 5 years ago by 5e9cbcde05f809001a6ec132
    ค้นดูทุกบ้านระแวงนี้
  • posted 4 years ago by iceboy
    Good
  • posted 4 years ago by m3ri69
    Hello.
  • posted 4 years ago by m3ri69
    https://t.au.uniqlo.com/r/?id=h10f39194,518f575,bf9e5e&p1=20210205_BackToWork_WomenMen-A
  • posted 3 years ago by 61012d321fc445001b208747
    KK
  • posted 3 years ago by ada-cyku
    OKKk
  • posted 2 years ago by tekemustafa
    tekemustafa222@gmail.com
  • posted 2 years ago by 644e569f98bf7f0008e03148
    0x38ec854248a0F6A81aAD2081c11fc56B74471C56
  • posted a year ago by stam098
    Thank you
  • posted 6 months ago by 6639537e5c229c0008ce92c0
    na jakaa
  • posted a day ago by xsjybldb
    1
  • posted a day ago by xsjybldb
    1
  • posted a day ago by xsjybldb
    -1 OR 2+965-965-1=0+0+0+1 --
  • posted a day ago by xsjybldb
    -1 OR 2+600-600-1=0+0+0+1
  • posted a day ago by xsjybldb
    -1' OR 2+499-499-1=0+0+0+1 --
  • posted a day ago by xsjybldb
    -1' OR 2+476-476-1=0+0+0+1 or 'L5PSHhQU'='
  • posted a day ago by xsjybldb
    -1" OR 2+882-882-1=0+0+0+1 --
  • posted a day ago by xsjybldb
    if(now()=sysdate(),sleep(15),0)
  • posted a day ago by xsjybldb
    0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
  • posted a day ago by xsjybldb
    0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z
  • posted a day ago by xsjybldb
    (select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/
  • posted a day ago by xsjybldb
    -1; waitfor delay '0:0:15' --
  • posted a day ago by xsjybldb
    -1); waitfor delay '0:0:15' --
  • posted a day ago by xsjybldb
    1 waitfor delay '0:0:15' --
  • posted a day ago by xsjybldb
    cSRthgLf'; waitfor delay '0:0:15' --
  • posted a day ago by xsjybldb
    -5 OR 976=(SELECT 976 FROM PG_SLEEP(15))--
  • posted a day ago by xsjybldb
    -5) OR 525=(SELECT 525 FROM PG_SLEEP(15))--
  • posted a day ago by xsjybldb
    -1)) OR 521=(SELECT 521 FROM PG_SLEEP(15))--
  • posted a day ago by xsjybldb
    FgHH7NKN' OR 356=(SELECT 356 FROM PG_SLEEP(15))--
  • posted a day ago by xsjybldb
    B096sd1S') OR 151=(SELECT 151 FROM PG_SLEEP(15))--
  • posted a day ago by xsjybldb
    8KTAXkpq')) OR 39=(SELECT 39 FROM PG_SLEEP(15))--
  • posted a day ago by xsjybldb
    1*DBMS_PIPE.RECEIVE_MESSAGE(CHR(99)||CHR(99)||CHR(99),15)
  • posted a day ago by xsjybldb
    1'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'
  • posted a day ago by xsjybldb
    1'"
  • posted a day ago by xsjybldb
    @@muDfR

sign in to comment