react-future

Specs & docs for potential future and experimental React APIs and JavaScript syntax.

  • 所有者: reactjs/react-future
  • 平台:
  • 许可证:
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

The Future of React(?)

Welcome to the potential future of React projects. This repo is showcasing
example code for APIs that we have not yet implemented nor agreed on.
Its purpose is to provide a platform for discussing future changes. It also
provides a shared goal so that we can figure out how to incrementally get to our
ideal API.

Structure

You'll notice that the files in this repo are structured by numbered files. More
stable proposals have lower numbers and more comments. Higher level proposals
are built on top of these. You're expected to be familiar with the core
proposals before reading the higher level examples.

Core

  1. [Classes](./01 - Core/01 - Classes.js)
  2. [Mixins](./01 - Core/02 - Mixins.js)
  3. [Stateless Functions](./01 - Core/03 - Stateless Functions.js)
  4. [Modules](./01 - Core/04 - Modules.js)
  5. [Elements](./01 - Core/05 - Elements.js)
  6. [Refs](./01 - Core/06 - Refs.js)
  7. [Imperative Bridge](./01 - Core/07 - Imperative Bridge.js)

Web Components

  • (TBD)

Animations

  • (TBD)

Layout

  1. [Primitives](./04 - Layout/01 - Primitives.js)
  2. [Layout Components](./04 - Layout/02 - Layout Components.js)
  3. [Usage](./04 - Layout/03 - Usage.js)
  4. [Inline Styles](./04 - Layout/04 - Inline Styles.md)

Workers

  1. [Serializable Elements](./05 - Workers/01 - Serializable Elements.js)
  2. [Nested Components](./05 - Workers/02 - Nested Components.js)

Embedded Queries

  • (TBD)

Returning State

  1. [Stateful Functions](./07 - Returning State/01 - Stateful Functions.js)
  2. [Module Pattern](./07 - Returning State/02 - Module Pattern.js)
  3. [Default Props and Initial State](./07 - Returning State/03 - Default Props and Initial State.js)

Types

  1. [Elements](./08 - Types/01 - Elements.js)
  2. [DOM Elements](./08 - Types/02 - DOM Elements.js)

Syntax

The language syntax used here is using a hypothetical future JavaScript syntax.
It's a mix of ECMAScript 6, proposals for ECMAScript 7, TypeScript and JSX. The
idea is that it should be proposals that have a legitimate chance of being
standardized.

Contribute

Would you like to take part of the discussion? Open up an issue or pull request.

主要指标

概览
名称与所有者reactjs/react-future
主编程语言JavaScript
编程语言JavaScript (语言数: 2)
平台
许可证
所有者活动
创建于2014-05-06 18:24:53
推送于2022-03-25 08:58:26
最后一次提交2016-03-08 19:20:25
发布数0
用户参与
星数2.8k
关注者数301
派生数109
提交数65
已启用问题?
问题数34
打开的问题数17
拉请求数12
打开的拉请求数8
关闭的拉请求数4
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?