35

Electron+Reat Hooks 开发一个ToDoList桌面端程序 - - SegmentFault 思否

 5 years ago
source link: https://segmentfault.com/a/1190000020863443
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
开始 安装react脚手架并初始化项目 {代码...} 此时项目已经运行在 :localhost:3000 安装 electron electron 7.0.0 实在太坑爹了 使用6.1.2没有问题。 {代码...} 新建main.js {代码...} 启动项目 在package.json文件中添加: {代码...} 然后执行: {代码...} 看到如下页面,终于第一步完成了。 React Hooks useState声明...

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK