logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

react-native和原生android的交互

在react-native中加入getConstants,在CalendarModule.getConstant的方法写出。

文章图片
#android#react native
react-native-gesture-handler 手势的使用

6、接下来,你可以在你的React Native组件中使用react-native-gesture-handler提供的手势组件了。1、首先,在你的React Native项目中安装react-native-gesture-handler。以上是使用react-native-gesture-handler的基本步骤。2、安装完成后,需要链接react-native-gesture-handler到

#react native
react-spring,一个react的动画库的使用

React Spring 是一个 spring physics based animation library 用于 React。它可以轻松地在 React 中实现弹性、渐变等动画效果。

文章图片
#react.js#前端#javascript
react出现了Invalid hook call. Hooks can only be called inside of the body of a function component.

/ Hook 只能在函数组件的最顶层使用 function Example() { if (someCondition) { const [count, setCount] = useState(0);在普通的 JavaScript 函数中使用 Hook 在 class 组件中使用 Hook 在自定义 Hook 内部再调用 Hook 在条件判断或循环中使用 Hook。这是因为你在函数组件以外使用了

文章图片
#react.js#javascript#前端
react-native连接android原生模块

搭建react-native项目运行react-native项目react-native连接原生app

文章图片
#android#react native#react.js +1
git实现回退

force 的命令将代码推到远端。

文章图片
#git
flutter的sdk降版本

使用flutter的时候版本太高出现项目运行不了,将sdk降级。

#flutter
微信小程序出现miniprogram/app.json: [“usingComponents“][“van-button“]:““@vant/weapp/button/index”未找到

在用微信小程序开发过程中引入vant过程中,导入button组件出现错误。按着文档各种配置都配了。如:project.config.json的配置。构建。包括没有npm构建按钮。最后发现了问题,我的项目是ts项目,所以需要引入ts的配置才能使用(官网的配置)。成功。

文章图片
#微信小程序
使用npm install出现check python checking for Python executable “python2“ in the PATH

使用npm install出现check python checking for Python executable "python2" in the PATH时,表示你本地的环境需要使用python2.7的,这个时候可以使用。找到pyenv的python的安装目录:在pyenv下的 /pyenv-win-master\pyenv-win\versions\2.7.15。先去下载python2.7

文章图片
#前端#npm
    共 23 条
  • 1
  • 2
  • 3
  • 请选择