Giter Club home page Giter Club logo

Comments (2)

lzwjava avatar lzwjava commented on August 11, 2024

支持这个还有个考虑是,可以看到很多人在上面发过消息。像网页版,如果进去什么都没有,你可能并不觉得它能正常收发消息,需要自己测一测,如果进去,看到一页都是别人发的消息,就会直接去研究代码,而且感觉也不少人用,比较可靠。

这里用的是实时向服务端请求消息。等本地缓存出来后,我就换成我们提供的本地缓存的接口吧。

因为一般地,聊天不仅要考虑收发消息,还要考虑显示过去的消息。

from leanmessage-demo.

wujun4code avatar wujun4code commented on August 11, 2024

我们关注的点就是 「登陆」 「发消息」 「接消息」 就这三个功能,核心展现,完全不需要用户在这三个功能之外再看见多余的代码,我再次强调,我们 LeanMessage 的卖点是实时通信,不是卖一个完整的通信产品逻辑。
我还是坚持删除跟以上3个功能无关的代码。

@jwfing

from leanmessage-demo.

Related Issues (20)

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.