04 2020 档案

摘要:这些东西每天都在遇到, 但啥是啥一下子还真有点懵, 就像大家都知道 x*y 的值, 但总有人搞不清是 x 个 y 还是 y 个 x ~. 毕竟生活中很多东西都是可正可反, 站在我的角度, 我说正的, 站在你的角度, 可能就是反的~ 想想为啥科学家为了向外星人解释【左和右】花费了多少心思? (参考 ` 阅读全文
posted @ 2020-04-26 11:37 程序媛李李李李蕾 阅读(314) 评论(0) 推荐(0) 编辑
摘要:微信需要企业身份并已认证才能申请分享接口。但可使用其他分享接口绕过。 在iOS和Android都无法分享(请确认公众号已经认证,只有认证的公众号才具有分享相关接口权限,如果确实已经认证,则要检查监听接口是否在wx.ready回调函数中触发) ​ 阅读全文
posted @ 2020-04-23 23:14 程序媛李李李李蕾 阅读(463) 评论(0) 推荐(0) 编辑
摘要:React Class功能与Hooks等效项 https://medium.com/soluto-engineering/react-class-features-vs-hooks-equivalents-745368dafdb3 I gave a talk during a recent meet 阅读全文
posted @ 2020-04-15 22:29 程序媛李李李李蕾 阅读(1238) 评论(0) 推荐(0) 编辑
摘要:文档 https://reacttraining.com/react-router/web/guides/quick-start 示例 url: https://reacttraining.com/react-router/web/example/no-match const { HashRoute 阅读全文
posted @ 2020-04-15 19:32 程序媛李李李李蕾 阅读(4590) 评论(0) 推荐(0) 编辑
摘要:保存 dom/html 为图片 可以使用 html2canvas + canvas2image 或者使用 dom-to-image 或者使用 html-to-image <script src="https://unpkg.com/html2canvas@1.0.0-rc.5/dist/html2c 阅读全文
posted @ 2020-04-15 11:22 程序媛李李李李蕾 阅读(688) 评论(0) 推荐(0) 编辑
摘要:https://til.hashrocket.com/posts/hwybnwyfyz-get-a-ref-to-a-dom-element-with-react-hooks React Hooks are now available in React 16.8. There are 10 diff 阅读全文
posted @ 2020-04-14 15:43 程序媛李李李李蕾 阅读(8762) 评论(0) 推荐(0) 编辑
摘要:原文: https://stackoverflow.com/questions/32725034/passing-in-null-as-a-parameter-in-es6-does-not-use-the-default-parameter-when-on This is not that obv 阅读全文
posted @ 2020-04-08 14:24 程序媛李李李李蕾 阅读(741) 评论(0) 推荐(0) 编辑
摘要:Warning: React has detected a change in the order of Hooks called by com. 最近在使用了 react hooks, 进入条件渲染的时候, 出现了错误. 警告:React已检测到com调用的Hook的顺序发生了变化。 以下是代码的 阅读全文
posted @ 2020-04-06 13:21 程序媛李李李李蕾 阅读(8363) 评论(0) 推荐(0) 编辑
摘要:十年编程,一朝如梦。 一个不知道男女的名字,却教人深感惋惜, 用自己的付出影响着数万人。 阅读全文
posted @ 2020-04-01 10:58 程序媛李李李李蕾 阅读(485) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示