Git Product home page Git Product logo

interview-demo's Introduction

项目启动

npm install 
npm start

浏览器访问 http://localhost:3000

项目说明

墨刀面试作业,目前所有数据都是假数据,色值取值于作业题,前端UI框架使用Ant Design。

思路整理:

在写代码之前我先分析作业题上页面的整体布局,并做了功能上的区分。

大概分了以下功能模块,我把单个方块视图抽象成一个App的概念

  • App过滤组件,当切换不同类型的应用时,负责切换不同应用的数据源。
  • App列表模块,负责显示一个或者多个符合条件的应用
    1. 这里每个应用的显示和数据封装到AppCard组件,这样比较好控制逻辑,感觉上也符合封装的概念
    2. “新创建应用”虽然外观和单个App一样,但是作用却不一样所以我做了一个CreateApp的组件来单独实现。这样可以把逻辑分开,方便以后的扩展

interview-demo's People

Contributors

beautyinnorth avatar

Watchers

James Cloos 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.