Skip to content

Instantly share code, notes, and snippets.

View zRich's full-sized avatar
🎯
Focusing

Rich Zhao zRich

🎯
Focusing
  • Shenzhen
View GitHub Profile
@zRich
zRich / .prettierrc.json
Created April 28, 2024 03:50
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
{
"overrides": [
{
"files": "*.sol",
"options": {
"printWidth": 80,
"tabWidth": 4,
"useTabs": false,
"singleQuote": false,
"bracketSpacing": false
@zRich
zRich / setup-reactnative-development-env.md
Last active January 28, 2024 00:26
创建 React Native App 最佳实践

React Native 官方提供两种创建 React Native App 的方式:

  • Expo:Expo 是一个开源工具链,用于构建、发布和管理 iOS 和 Android 上的 React Native 应用程序。
  • React Native CLI

在我现在的系统上,使用 React Native CLI 创建 React Native App 会遇到很多问题,尤其是网络问题,所以我选择使用 Expo 来创建 React Native App。

此时的 npmyarn 仓库设置是: