react 对象克隆

I must not fear. Fear is the mind-killer. Fear is the little-death that brings total obliteration. I will face my fear. I will permit it to pass over me and through me. And when it has gone past I will turn the inner eye to see its path. Where the fear has gone there will be nothing. Only I will remain. - "Litany Against Fear," Frank Herbert, Dune

我一定不要害怕。 恐惧是心灵的杀手。 恐惧是带来彻底灭绝的小死。 我将面对我的恐惧。 我将允许它通过我并通过我。 当它过去时,我会转向内在的目光,看看它的路径。 恐惧消失的地方将一无所有。 只有我会留下来。 -《反对恐惧的植物学》,弗兰克·赫伯特,沙丘

You may be wondering, "What does fear have to do with a React app?" First of all, there's nothing to fear in a React app. In fact, in this particular app, we banned fear. Isn't that nice?

您可能想知道,“恐惧与React应用程序有什么关系?” 首先,在React应用程序中没有什么可担心的。 实际上,在这个特定的应用程序中,我们禁止了恐惧。 那不是很好吗?

Now that you're ready to be fearless, let's discuss our app. It's a mini Yelp clone where instead of reviewing restaurants, users review planets from the classic sci-fi series, Dune. (Why? Because there's a new Dune movie coming out... but back to the main point.)

现在您已经准备好无所畏惧,让我们讨论一下我们的应用程序。 这是一个微型Yelp克隆,用户无需查看餐厅,而是查看经​​典科幻电视剧Dune中的行星。 (为什么?因为有一部新的《沙丘》电影上映……但又回到了重点。)

To build our full-stack app, we'll use technologies that make our lives easy.

要构建全栈应用程序,我们将使用使生活变得轻松的技术。

  1. React: Intuitive, compositional front-end framework, because our brains like to compose things.

    React :直观的,组成性的前端框架,因为我们的大脑喜欢组成事物。

  2. GraphQL: You may have heard many reasons why GraphQL is awesome. By far, the most important one is developer productivity and happiness.

    GraphQL :您可能已经听说了GraphQL很棒的许多原因。 到目前为止,最重要的是开发人员的生产力和幸福感

  3. Hasura: Set up an auto-generated GraphQL API on top of a Postgres database in under 30 seconds.

    Hasura :在30秒内在Postgres数据库的顶部设置一个自动生成的GraphQL API。

  4. Heroku: To host our database.

    Heroku :托管我们的数据库。

而GraphQL给我带来怎样的幸福? (And GraphQL gives me happiness how?)

I see you're a skeptical one. But you'll most likely come around as soon as you spend some time with GraphiQL (the GraphQL playground).

我看到你是一个怀疑的人。 但是,一旦在GraphiQL(GraphQL游乐场)上花了一些时间,您很可能很快就会出现。

Using GraphQL is a breeze for the front-end developer, compared to the old ways of clunky REST endpoints. GraphQL gives you a single endpoint that listens to all your troubles... I mean queries. It's such a great listener that you can tell it exactly what you want, and it will give it to you, nothing less and nothing more.

与笨拙的REST端点的旧方法相比,使用GraphQL对于前端开发人员而言是轻而易举的事。 GraphQL为您提供了一个侦听所有麻烦的终结点……我的意思是查询。 这是一个很棒的听众,您可以准确地告诉它您想要什么,它将为您提供任何帮助。

Feeling psyched about this therapeutic experience? Let's dive into the tutorial so you can try it ASAP!

对这种治疗经验感到不安? 让我们深入本教程,以便您可以尽快尝试!

react 对象克隆_如何使用React&GraphQL(Dune World Edition)创建全栈Yelp克隆相关推荐

  1. react 对象渲染_不要过度使用React.useCallback()

    我博客的一位读者联系到我,提出了一个有趣的问题. 他说,他的队友不管在什么情况下,都会把每一个回调函数封装在 useCallback() 里面. import React, { useCallback ...

  2. react java编程_快速上手React编程 PDF 下载

    资料目录: 第1章  初积React  3 1.1  什么是React  4 1.2 React解决的问题  5 1.3  使用React的好处  6 1.3.1  简单性  6 1.3.2  速度和 ...

  3. react jest测试_如何使用React测试库和Jest开始测试React应用

    react jest测试 Testing is often seen as a tedious process. It's extra code you have to write, and in s ...

  4. react 执行入口_如何使用React执行CRUD操作

    react 执行入口 by Zafar Saleem 通过Zafar Saleem 如何使用React执行CRUD操作 (How to perform CRUD operations using Re ...

  5. react前端项目_如何使用React前端设置Ruby on Rails项目

    react前端项目 The author selected the Electronic Frontier Foundation to receive a donation as part of th ...

  6. react前端开发_是的,React正在接管前端开发。 问题是为什么。

    react前端开发 by Samer Buna 通过Samer Buna 是的,React正在接管前端开发. 问题是为什么. (Yes, React is taking over front-end ...

  7. 创建react应用程序_如何使用React创建一个三层应用程序

    创建react应用程序 Discover Functional JavaScript was named one of the best new Functional Programming book ...

  8. react hooks使用_如何使用React Hooks和Context API构建简单的PokémonWeb App

    react hooks使用 After seven years of full stack development using Ruby, Python, and vanilla JavaScript ...

  9. react hooks使用_何时使用React Suspense和React Hooks

    react hooks使用 React Suspense对Monad就像钩子对应用符号一样 (React Suspense is to a Monad as Hooks are to Applicat ...

最新文章

  1. 好评如潮的C#实战图书
  2. c语言求n(n从1到10),关于C语言的一道题
  3. PHP删除数组中空值的方法介绍
  4. Linux如何搭建服务器eb,Linux下CRMEB环境搭建
  5. c程序预处理器的设计与实现_C预处理器-能力问题与解答
  6. dw上的php代码如何预览在浏览器_13个面向开发人员的JavaScript代码编辑器和IDE
  7. input file 上传图片时,文件格式限制
  8. 浅谈一下js中的this
  9. [转载] ml-8-1-聚类( ( Clustering) )
  10. 人脸验证(四)--CenterLoss
  11. 【面经】腾讯NLP实习面经(Offer已拿)
  12. Atitit 变量类型系统 目录 1. 通用类型系统 (Common Type System) 1 1.1. CTS 的类型[编辑] 1 2. CLR支持两种基本类型:值类型和引用类型。因此,还是把
  13. 桌面整理之DeskGo
  14. Android音频数据格式概述
  15. 脾气与冲突--试用ymlf下wine跑windows程序有感
  16. 学术论文常用网址,自己收藏和分享给大家
  17. Catia V5-6R2016安装教程
  18. Application.java启动项位置不对报错
  19. “全栈2019”Java第十三章:基本数据类型
  20. sql sever 树的基础查询

热门文章

  1. 使用MATLAB求积分和极限
  2. stc12c5a32s2c语言程序,为什么STC12C5A32S2程序不能烧录进去啊
  3. java服务端下载微信头像并返回客户端
  4. Java构建递归树工具类
  5. stm32f103 LED灯简单程序实现
  6. 房产测量程序lisp_房产测绘内业数据处理方法及软件应用
  7. python 做交易软件下载_利用python下载股票交易数据
  8. 多线程调试(gdb命令行和使用集成开发qtcreator查看线程状态)
  9. 非门,与门,或们怎么仅用与非门构成,非门,与门,或们怎么仅用或非门非门构成
  10. 傅里叶变换的虚数部分