Code Monkey home page Code Monkey logo

21duck's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

21duck's Issues

后端用spring+rest重写

这个项目一开始后端的定位只是能用就行
但是真要上线的话 还有很多事要做 比如缓存、鉴权、验证

当前设计的rest api还是存在许多问题的 在api这方面也需要重新设计

登录成功后的页面跳转

因为redux状态的更新需要时间,所以现在是简单的设置了一个timeout 300ms后跳转
正确的做法应该是在监听ActionTypes.LOGIN动作的saga中进行跳转
但是现在的路由history获取比较麻烦 等待路由使用hook重构后考虑(#12 )

NB!

你们怎么做的这么好啊,
nbnb!

csrf token验证

后端的登录login注册register方法直接使用了@csrf_exemp装饰器来避开csrf验证
有时间要加一下前端axios请求时的验证

使用unstated-next对状态进行重构

使用redux来管理状态对这个项目来说有点大材小用了
而且多了许多不必要的样板代码

因此迁移到unstated-next的状态管理方案

MainFrame

37 38行

detail={true}
thumb={false}

记得修改

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.