Skip to main content

React Cookbook

Admin & Dashboard

Editors

header-one

header-two

header-three

header-four

header-five
header-six
blockquote code-block
atomic
  • unordered-list-item,ordered-list-item**
    unstyled***

    unordered-list-item

    ordered-list-item 0.

    atomic draft-js#543

    const types = [
    { type: 'header-one', component: 'h1' },
    { type: 'header-two', component: 'h1' },
    { type: 'header-three', component: 'h1' },
    { type: 'header-four', component: 'h1' },
    { type: 'header-five', component: 'h1' },
    { type: 'header-six', component: 'h1' },
    { type: 'blockquote', component: 'blockquote' },
    { type: 'code-block', component: 'pre' },
    { type: 'code', component: 'code' },
    { type: 'unordered-list-item', component: 'li' },
    { type: 'ordered-list-item', component: 'li' },
    ];

    Top 15 Best Rich Text Editor Components

    Drag Drop Editor

    Wysiwyg

    Markdown

    Theory

    • Lessons from a year of WYSIWYG
    • Wiki: Model-based design
      • in these four steps:
        1. modeling a plant
        2. analyzing and synthesizing a controller for the plant
          • 配合受控体,分析及合成适合的控制器。
        3. simulating the plant and controller
          • 针对控制器及受控体进行仿真。
        4. integrating all these phases by deploying the controller
          • 整合上述的步骤来布署控制器。
    • Wiki: Cybernetics (控制论)
      • 控制论与对系统的研究有关,如自动化系统、物理系统、生物系统、认知系统、以及社会系统等等。控制论可被应用于研究包含信令回路的系统。信令回路在这里指,当一个系统的运作改变了它所在的环境,而这些改变又反过来反馈于系统上,并导致系统本身的变化。这种循环最初被称为“循环影响”关系。

    Forms

    Form Builders & Commercial

    Commercial/SaaS:

    Building a Responsive Drag and Drop UI

    Interactive & UI Libraries

    yarn add react-draggable react-resizable react-grid-layout

    react-sortable-hoc

    Category

    1. Interaction
      • react-sortable-hoc
      • react-draggable
      • react-resizable
    2. List/Table
    3. Layout
      • react-grid-layout
      • golden-layout
      • react-frame

    Sorting

    Diagrams

    Build & Analytics

    React Native Tips

    访问开发菜单 (In-App Developer Menu)

    • iOS Simulator: ⌘D 或 Hardware > Shake Gesture
    • Android Emulator: ⌘M (Mac), Ctrl+M (Windows/Linux)
    • ADB: adb shell input keyevent 82

    重新加载 (Reloading)

    • iOS Simulator: ⌘R
    • Android Emulator: 连按两次 R

    调试工具

    • Debugger UI: http://localhost:8081/debugger-ui/
    • reactotron