我们已经打开一个项目,左边是 React Packager, 你可以在 Up and Running 和 How Exponent Works 了解更多。右侧是设备 logs, 你可以在 Viewing Logs 了解更多。
点击 device 可以快速在你设备或者虚拟机上打开你的应用。了解更多: Up and Running。
通常来说你都想在 development mode 下开发。这样子会稍微慢点,因为它添加了一些运行时的检测来提示你可能存在的问题,但是它也提供了 live reloading, hot reloading, remote debugging 还有 element inspector。如果你想测试性能,你需要关闭 development mode 然后重新加载你的应用。
当你点击了 publish, 你需要确认你想让公众看到你的app。点击 yes 会上传所有你的 Javascript 代码还有 assets 到我们的服务器。然后用户可以随时通过 exp.host/@your-username/your-app-slug
来访问你的 app。更多关于 slug 你可以看: Configuration with exp.json, 关于 publish 是怎么工作的,你可以看: How Exponent Works。