react-native 0.62.x removed accessibilityStates
See original GitHub issueEnvironment
- react: 16.11.0
- react-native: 0.62.2
- react-native-paper: 3.10.1
- typescript: 3.9.2
Description
Remove accessibilityStates: We’ve removed the deprecated accessibilityStates property in favor of the new accessibilityState prop which is a more semantically rich way for components to describe information about their state to accessibility services. – https://reactnative.dev/blog/#breaking-changes
Reproducible Demo
Code:
import React from "react"
import { View } from "react-native"
import { Text } from "react-native-paper"
interface Props {}
const Component: React.FC<Props> = () => {
return (
<View>
<Text>Component</Text>
</View>
)
}
export default Component
Issue Analytics
- State:
- Created 3 years ago
- Reactions:30
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Announcing React Native 0.62 with Flipper
Today we're releasing React Native version 0.62 which includes ... We've removed the deprecated accessibilityStates property in favor of the ...
Read more >ReactNative 0.62.x版本新特性整理_xy371661665的博客
This is the first diff in the series. It removes Flow types for this feature to verify that we actually do not have...
Read more >Custom jest matchers to test the state of React Native - Morioh
It also works with accessibilityStates={['disabled']} for now. However, this prop is deprecated in React Native 0.62 ...
Read more >React Native version mismatch - Stack Overflow
just force react native version in your android's app level gradle file, ... Discard your changes, delete and reinstall your Node modules, ...
Read more >react-native: Versions - Openbase
This version is a patch release addressing the Android build issue that has been ongoing since Nov 4th 2022. If you are on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
A way to IGNORE errors using
patch-package
:Put this file to
patches/@types+react-native+0.62.11.patch
, runyarn patch-package
.NOTE: This just ignores the error,
accessibilityStates
does not work as expected.This is a real issue