🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

react-native-smart-loading

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-smart-loading

react-native loading

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

目的

为解决使用【react-native-easy-loading】的loading在某些情况下loading无法关闭

解决办法

目前找到两种办法

1.在关闭时设置延迟
2.修改Modal的animationType
我这里使用了第二种,默认情况下animationType为none,同时加入了可以设置animationType的方法setConf,传入的对象用于修改Loading的state

Keywords

react-native

FAQs

Package last updated on 18 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts