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
electron使用npm install出现下载失败的问题

我在使用electron进行下载时,经常出现一个错误。HTTPError: Response code 404 (Not Found) for https://registry.npmmirror.com/v21.4.4/electron-v21.4.4-win32-x64.zip这个时候需要修改一些npm的配置。使用命令npm config list -ls滑到下面,找到一个配置。在资源管理器中

文章图片
#electron#npm#javascript
flutter出现的错误:Visual Studio not installed; this is necessary for Windows development

this is necessary for Windows development"的错误,这意味着你需要安装Visual Studio,以便进行Windows平台的开发。Flutter在Windows平台上需要使用Visual Studio来构建和运行一些特定的功能和库。安装完成后,你还需要配置Flutter与Visual Studio的相关路径。完成上述步骤后,重新运行Flutter项目,你应

文章图片
#flutter#visual studio#windows
使用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
    共 26 条
  • 1
  • 2
  • 3
  • 请选择