Skip to content
New issue

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

Flatlist warning: StyleSheet.compose(a, b) is deprecated; use array syntax, i.e., [a,b]. #2554

Closed
1 task done
devoren opened this issue Jul 11, 2023 · 0 comments
Closed
1 task done
Labels
Milestone

Comments

@devoren
Copy link

devoren commented Jul 11, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Describe the issue

When I set numColumns greater than 1 I get a warning, and I guess there's nothing I can do about it:

image

Expected behavior

Flatlist component Without warning when numColumns > 1

Steps to reproduce

"expo": "^49.0.0",
"react-native-web": "~0.19.6",

  1. Create flatlist component
  2. set numColumns > 1

Test case

https://codesandbox.io/s/serene-brahmagupta-tym8wh?file=/src/App.js

Additional comments

No response

@devoren devoren added the bug label Jul 11, 2023
@necolas necolas added this to the 0.19.x milestone Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants