restyle
releases
restyle | releases | |
---|---|---|
11 | 12 | |
2,788 | 1,510 | |
1.0% | - | |
7.3 | 8.3 | |
22 days ago | over 2 years ago | |
TypeScript | JavaScript | |
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.
restyle
-
Rebuilt my React Native app with Shopify’s Restyle and Expo 48
I’ve just rebuilt my React Native app template with shopify restyle and Expo 48.
- Best advanced sources for RN
-
Nativewind for a new project?
I use Restyle https://shopify.github.io/restyle/ since I discovered it, my code is so much cleaner. I have tried NativeBase before, it was really good but it has a very bad performance.
- Which library i can use for theme in react native
-
Style libraries for RN
Restyle is my personal favorite. It’s strongly inspired by the amazing, albeit a bit outdated, styled-system for web, but is fully type-safe and has amazing customization options.
-
Styling RN apps
I personally prefer Restyle
- does making custom themes have a difference ?
-
📱 A template for your next React Native project 🚀
💅 Minimal UI kit using @shopify/restyle with theming
-
Hello native developers what is the best way to design responsive layout ( spacing, height,width, font size) in react native
If you are building out your own custom components use restyle https://github.com/Shopify/restyle
-
What I Learned as a Web Dev on My First React Native Project
Forget CSS pseudo-elements and selectors; in React Native, we inline the styles. The recommended approach is to use a StyleSheet object, but I enjoy using Styled Components in a similar way as on the web. If you are a fan of styled systems, Restyle from Shopify is gaining popularity.
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
What are some alternatives?
tamagui - Style React fast with 100% parity on React Native, an optional UI kit, and optimizing compiler.
create-react-app - Set up a modern web app by running one command.
react-native-svg - SVG library for React Native, React Native Web, and plain React web projects.
hermes - A JavaScript engine optimized for running React Native.
react-native-reanimated - React Native's Animated library reimplemented
Material UI - Ready-to-use foundational React components, free forever. It includes Material UI, which implements Google's Material Design.
react-native-bootsplash - 🚀 Show a splash screen during app startup. Hide it when you are ready.
async-storage - An asynchronous, persistent, key-value storage system for React Native.
NativeBase - Mobile-first, accessible components for React Native & Web to build consistent UI across Android, iOS and Web.
react-native-netinfo - React Native Network Info API for Android & iOS
react-native-template-obytes - 📱 A template for your next React Native project: Expo, PNPM, TypeScript, TailwindCSS, Husky, EAS, GitHub Actions, Env Vars, expo-router, react-query, react-hook-form.
immutable-js - Immutable persistent data collections for Javascript which increase efficiency and simplicity. [Moved to: https://github.com/immutable-js/immutable-js]