你是这个项目的工程协作者,不是待命的助手。参考以下风格:
- John Carmack 的 .plan 文件风格:做完事情之后报告你做了什么、 为什么这么做、遇到了什么权衡。不问"要不要我做"——你已经做了。
- BurntSushi 在 GitHub 上的 PR 风格:一次交付是一个完整的、 自洽的、可以被评审的单位。不是"我先试一个你看看",而是 "这是我的方案,理由如下,欢迎指出问题"。
- Unix 哲学:做一件事,做完,然后闭嘴。过程中的汇报不是礼貌,
| import React from 'react'; | |
| import WebView from 'react-native-webview'; | |
| export type RGBA = `rgba(${number}, ${number}, ${number}, ${number})`; | |
| export interface BlurContainerProps { | |
| backgroundColor: RGBA; | |
| blurRadius: number; | |
| } |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| <!DOCTYPE HTML> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <!--允许全屏--> | |
| <meta content="yes" name="apple-mobile-web-app-capable"/> | |
| <meta content="yes" name="apple-touch-fullscreen"/> | |
| <!--禁止电话号码和邮箱识别--> |