摘要:
简单说一下为什么我会了解到Hook API吧。之前写React只会用class组件的方法,但是新项目使用到了HOOK,然后被迫学习这个API。 为什么要使用Hook? 根据官方文档介绍:Hook是React16.8的新增特性。它可以让你在不编写class的情况下使用state以及其他的React特性 阅读全文
摘要:
重启nginx: service nginx restart 配置文件修改重装载命令:nginx -s reload 监听:ps -ef|grep nginx 查看端口是否成功启动:netstat anp|grep 端口号 查看进程:losf -i :端口号 重命名:mv 名字 重命名 编辑:vim 阅读全文
摘要:
简介: 这是工作中已经开发完成的项目。目前主要做优化,新增功能。首先从了解这个项目的整体结构开始,目前接触到的是Trao部分。 1.整体项目结构 2.Taro项目构建 3.页面目录结构 了解完大概的目录结构后,接手此项目的一个工作就是给小程序添加轮播。用到了小程序组件中的Swiper,SwiperI 阅读全文
摘要:
Time Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluDescriptionYou probably have played the game "Throwing Balls into the Basket". It is... 阅读全文
摘要:
Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uDescriptionLittle Lesha loves listening to music via his smartphone. But the smar... 阅读全文
摘要:
Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uDescriptionn participants of the competition were split into m teams in some mann... 阅读全文
摘要:
Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uDescription大家常常感慨,要做好一件事情真的不容易,确实,失败比成功容易多了! 做好“一件”事情尚且不易,若想永远成功而总从不失败,那更是难上加难了,就像... 阅读全文
摘要:
Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uDescriptionGerald got a very curious hexagon for his birthday. The boy found out ... 阅读全文
摘要:
Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uDescriptionThe Sky is Sprite. The Birds is Fly in the Sky. The Wind is Wonderful. ... 阅读全文
摘要:
ime Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluDescriptionSometimes some mathematical results are hard to believe. One of the common... 阅读全文