Giter VIP home page Giter VIP logo

learnreact's Introduction

learnReact

Demo https://497983606.github.io/learnReact/

  • 成员不支持加入多个组织
  • 成员、组织名称没有做重复校验
  • 删除组织之后连同成员一起删除
  • 没有使用线条丰富层级关系(可以使用 before 和 after 等为元素实现,但比较繁琐,还是时间问题)
  • 单元测试复用性不太好

项目使用了 create-react-app typrscript template,依赖 douyinfe 的 semi-ui,由于库针对 React 的版本问题,console 会有一些警告。

Test case ( normal )

完成了部分测试用例

  • 设置成员
  • 设置组织
  • 设置树结构
  • 新增用户
  • 删除用户
  • 移动组织
  • 持久化数据
  • 修改组织名称
  • 修改用户
  • 刷新数据
  • 修改用户状态
  • 设置 representation 成员

Components Tree

Index.tsx

|--Org.tsx
  |--OrgItem.tsx
    |--OrgDialog.tsx
    |--Member.tsx
      |--MemberDialog.tsx

Useage

Install

npm install

Build

npm run build

Test

npm run test

Launch

npm run start

learnreact's People

Contributors

497983606 avatar

Stargazers

Thaddeus avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.