官术网_书友最值得收藏!

  • React Components
  • Christopher Pitt
  • 295字
  • 2021-07-09 19:34:44

Testing in JSBin

If you're anything like me, you'll often just want a quick place to test some small component or ES6 code. Setting up these build chains or live browser environments takes time. There is a quicker way. It's called JSBin and you can find it at https://jsbin.com:

To get the most out of JSBin, be sure to set the JavaScript dropdown to ES6/Babel and include the ReactJS scripts from CDNJS. These are pre-built versions of ReactJS, so you can create React components (using ES6 features) straight from the browser.

Tip

Downloading the example code

You can download the example code files for this book from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.

You can download the code files by following these steps:

  • Log in or register to our website using your e-mail address and password.
  • Hover the mouse pointer on the SUPPORT tab at the top.
  • Click on Code Downloads & Errata.
  • Enter the name of the book in the Search box.
  • Select the book for which you're looking to download the code files.
  • Choose from the drop-down menu where you purchased this book from.
  • Click on Code Download.

You can also download the code files by clicking on the Code Files button on the book's webpage at the Packt Publishing website. This page can be accessed by entering the book's name in the Search box. Please note that you need to be logged in to your Packt account.

Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:

  • WinRAR / 7-Zip for Windows
  • Zipeg / iZip / UnRarX for Mac
  • 7-Zip / PeaZip for Linux
主站蜘蛛池模板: 阳江市| 共和县| 环江| 凭祥市| 南召县| 曲沃县| 阿拉善右旗| 双牌县| 兴安县| 梓潼县| 苗栗县| 油尖旺区| 洱源县| 固安县| 古蔺县| 交城县| 博客| 延吉市| 元氏县| 高要市| 石阡县| 多伦县| 镇沅| 景宁| 泸水县| 河源市| 鄂尔多斯市| 资中县| 北宁市| 天等县| 湖北省| 深圳市| 沽源县| 鄄城县| 古蔺县| 会理县| 昌图县| 贞丰县| 明水县| 玉山县| 龙岩市|