releases
async-storage
releases | async-storage | |
---|---|---|
12 | 37 | |
1,510 | 4,539 | |
- | 0.8% | |
8.3 | 8.3 | |
over 2 years ago | 10 days ago | |
JavaScript | TypeScript | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
releases
-
What I Learned as a Web Dev on My First React Native Project
One important note for Android: As you add more libraries, you may encounter an error that limits you to a certain number of allowed methods. To deal with this, enable Multidex. Another error may come if you enable Hermes, an optimized Javascript engine for running Android apps and, soon, also iOS. While some libraries—like the above-mentioned Reanimated—require it, others are not yet compatible with it (Realm - see below).
-
Top 33 JavaScript Projects on GitHub (November 2021)
#7 facebook/react-native
-
Why is immutability so important (or needed) in JavaScript?
I am currently working on React JS and React Native frameworks. On the half way road I came across Immutability or the Immutable-JS library, when I was reading about Facebook's Flux and Redux implementation.
- v0.66.0
-
App.js is different than the code in the tutorial video I'm watching, not sure why.
/** * Sample React Native App * https://github.com/facebook/react-native * * @format * @flow strict-local */ import React from 'react'; import type {Node} from 'react'; import { SafeAreaView, ScrollView, StatusBar, StyleSheet, Text, useColorScheme, View, } from 'react-native'; import { Colors, DebugInstructions, Header, LearnMoreLinks, ReloadInstructions, } from 'react-native/Libraries/NewAppScreen'; const Section = ({children, title}): Node => { const isDarkMode = useColorScheme() === 'dark'; return ( {title} {children} ); }; const App: () => Node = () => { const isDarkMode = useColorScheme() === 'dark'; const backgroundStyle = { backgroundColor: isDarkMode ? Colors.darker : Colors.lighter, }; return (
-
Hacktoberfest 2021
React, Reactjs.org, React Native
-
v0.65.0
full release notes
-
App not appearing in dark mode
/** * Sample React Native App * https://github.com/facebook/react-native * * @format * @flow strict-local */ import React, {useContext} from 'react'; import type {Node} from 'react'; import {StatusBar, StyleSheet, Text, useColorScheme, View} from 'react-native'; import 'react-native-gesture-handler'; import {SafeAreaProvider} from 'react-native-safe-area-context'; import NavigationTabs from './NavigationTabs'; import {ThemeProvider, ThemeContext} from './theme/theme-context'; const App: () => Node = () => { const isDarkMode = useColorScheme() === 'dark'; const {scheme, theme, toggle} = useContext(ThemeContext); return ( ); }; const styles = StyleSheet.create({ sectionContainer: { marginTop: 32, paddingHorizontal: 24, }, sectionTitle: { fontSize: 24, fontWeight: '600', }, sectionDescription: { marginTop: 8, fontSize: 18, fontWeight: '400', }, highlight: { fontWeight: '700', }, }); export default App;
-
React Native 0.64.2 released!
I recommend reading the readme here https://github.com/react-native-community/releases
- 0.64.1
async-storage
-
Unit Testing Expo Apps With Jest
\[@RNC/AsyncStorage\]: NativeModule: AsyncStorage is null. To fix this issue try these steps: • Rebuild and restart the app. • Run the packager with \`--reset-cache\` flag. • If you are using CocoaPods on iOS, run \`pod install\` in the \`ios\` directory and then rebuild and re-run the app. • If this happens while testing with Jest, check out docs how to integrate AsyncStorage with it: https://react-native-async-storage.github.io/async-storage/docs/advanced/jest If none of these fix the issue, please open an issue on the Github repository: https://github.com/react-native-async-storage/async-storage/issues 5 | import { ReactQueryDevtools } from '@tanstack/react-query-devtools'; 6 | import { Platform } from 'react-native'; > 7 | import AsyncStorage from '@react-native-async-storage/async-storage';
-
State Management Nx React Native/Expo Apps with TanStack Query and Redux
Storage: redux-persist, @react-native-async-storage/async-storage
-
Is there a way to store things even if the app closes?
You want this: react-native-async-storage
-
Fullstack Developer here, just diving into React Native. For my first app do you think it would be better to use local storage or to build an api?
What do you mean by local storage? The browser based localStorage API does not exist by default in react-native. There is an analogue though... The most basic package that most people use, AsyncStorage is just a string based key-value store: https://github.com/react-native-async-storage/async-storage . It's very useful for anything simple. It also has a merge function which lets you automatically update stringified JSON objects without unpacking them and doing the modifications yourself.
- How to delete LocalStorage key/value pairs from Android phone?
- LocalStorage for React Native Expo app?
-
WhatsApp in React Native (part 3)
Android - SQLite
-
How to Mock and Test AsyncStorage in React Native
Since the original React Native AsyncStorage was deprecated, you may be using the community solution: react-native-async-storage. I would personally recommend it!
-
Any solution for this?
I think that you using a deprecated package to store your state. Verify if you are using https://github.com/react-native-async-storage/async-storage.
-
React vs React Native: How Different Are They, Really?
State management, orchestrating HTTP requests, synchronizing client and server state: all these things will apply to React Native. The differences will only arise when the device layer comes into play (for example, if you have to store data on the client, window.localStorage doesn’t exist, but AsyncStorage does.)
What are some alternatives?
create-react-app - Set up a modern web app by running one command.
react-native-mmkv - ⚡️ The fastest key/value storage for React Native. ~30x faster than AsyncStorage!
hermes - A JavaScript engine optimized for running React Native.
react-native-firebase - 🔥 A well-tested feature-rich modular Firebase implementation for React Native. Supports both iOS & Android platforms for all Firebase services.
Material UI - Ready-to-use foundational React components, free forever. It includes Material UI, which implements Google's Material Design.
redux-toolkit - The official, opinionated, batteries-included toolset for efficient Redux development
react-native-netinfo - React Native Network Info API for Android & iOS
redux-persist - persist and rehydrate a redux store
immutable-js - Immutable persistent data collections for Javascript which increase efficiency and simplicity. [Moved to: https://github.com/immutable-js/immutable-js]
rtk-query - Data fetching and caching addon for Redux Toolkit
reveal.js - The HTML Presentation Framework
expo-storage - Simple way to store persistent data, which does not have size limitations of react-native async-storage.