Can I use react-select in react-native? Can I use react-select in react-native? reactjs reactjs

Can I use react-select in react-native?


You can't use select2 or react-select with react-native, because it's DOM based and so, it will work only in navigator, not in react-native

The closest react-native equivalent I've found is react-native-multiple-select, you can find it on github at https://github.com/toystars/react-native-multiple-select or install it with

npm i react-native-multiple-select


Probably the closest to what you want that comes bundled with React Native is http://facebook.github.io/react-native/docs/picker.html

The Picker component will give you a tumbler thing on iOS and a dropdown on Android

Alternatively maybe this 3rd party component is closer to what you want: https://github.com/bulenttastan/react-native-list-popover

From How to use React native select box


import {useSelector} from 'react-redux';let filter = useSelector(state => {    console.log('K___1  &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& : ', state);      return state;}); //using this to fetch all store data in redux-Store