We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
H5
浏览器版本: Firefox 96.0b9 (64 位) 使用框架: React
编译后显示“没有找到页面实例”
APP.TS文件
type AppProps = React.PropsWithChildren<{}> function App({ children }: AppProps) { const [isLoaded, setIsLoaded] = useState(false) useEffect(() => { setTimeout(() => { setIsLoaded(true) }, 3000) }, []) return isLoaded ? children : <View>loading</View> } export default App
正常运行
运行报错
👽 Taro v3.3.16 Taro CLI 3.3.16 environment info: System: OS: Windows 10 Binaries: Node: 16.12.0 - C:\Program Files\nodejs\node.EXE npm: 8.1.0 - C:\Program Files\nodejs\npm.CMD
The text was updated successfully, but these errors were encountered:
解决了吗,这种写法可以的吗
Sorry, something went wrong.
没解决,也没人回。我打算用swr.js这个库了,这样也不需要开始的时候加载全局信息
遇到相同的问题,不知道能解决不。。。
可以参考这里的写法
No branches or pull requests
相关平台
H5
浏览器版本: Firefox 96.0b9 (64 位)
使用框架: React
复现步骤
编译后显示“没有找到页面实例”
APP.TS文件
期望结果
正常运行
实际结果
运行报错
环境信息
The text was updated successfully, but these errors were encountered: