A Brief Overview of ES6 or ECMAScript 6 for React Native Developers, What is ES6, What is new in ES6 or ECMAScript 6, React ES6 What is ES6? If you learn React Native or React and you’re new to JavaScript and have’t use ES6/ES2015+, don’t worry here we learn all…
What is React Hooks and how to use Hooks Methods
React Hooks, Type of react hooks, How many React Hooks Methods And How to use we learn all there. React Hook? Hooks are a new feature which is implemented in React 16.8. We have use state and other React features without writing a class. It mainly uses to handle the state…
How to Check if Keys Exist in JavaScript Objects
Check Keys Exist is exist in JavaScript Objects There are two type of method to check if Keys Exist in JavaScript Objects, We Explain with code for better understanding. Method 1: hasOwnProperty() Using the hasOwnProperty() Method The hasOwnProperty() method returns a boolean value indicating whether the object has the specified property as…
How to use pan gesture in react native
PanResponder in react native Pan gesture in react native PanResponder PanResponder reconciles several touches into a single gesture. It makes single-touch gestures resilient to extra touches, and can be used to recognize basic multi-touch gestures. By default, PanResponder holds an InteractionManager handle to block long-running JS events from interrupting active gestures. It provides a predictable…
How to use Pinch to Zoom Gesture in React Native apps
The open-source library react-native-gesture-handler is a great way to add gestures to cross-platform React Native apps. Two of the main reasons I find this useful because it uses native support to handle gestures and the other reason being it is better at performing on each native platform than React Native’s built-in touch…