GithubHelp home page GithubHelp logo

Comments (5)

kevin940726 avatar kevin940726 commented on June 12, 2024 1

I have noticed that too lol. There is also plenty of bugs with the new infrastructure. In fact, I have been waiting for this for a long time. I knew that they will refactor the codebase to react-ecosystem, I just didn't know when.
There might be some extra work to test our library, especially with authentication and notifications. I will work on that as soon as I got the time.

from dcard.js.

lockys avatar lockys commented on June 12, 2024 1

from dcard.js.

lockys avatar lockys commented on June 12, 2024

Thanks for your awesome contributions 💯

from dcard.js.

kevin940726 avatar kevin940726 commented on June 12, 2024

I have done a ground-up rewrite of the module, you can find it in the next branch.

Basically I just copied the source code from Dcard and did some modification to them. The api have the same name as the official api and it should cover all of the public api used on the web platform. I've only tried a few api and in the Node environment, but they should all works.

There are some notable changes across the whole project:

  • eslint default to extend airbnb style guide.
  • babel preset changed to latest and stage-0.
  • use yarn instead of npm.
  • introducing documentation for automatically generate documentation from source code.
  • introducing flow for type-checking, but mostly for documentation (see here).

Mostly the core are all done, we just need some tests and documentation. There are some command you can play with now.

  • yarn run documentation: serve the documentation server on port 4001 by default.
  • yarn test: run the test code in test/index.js, currently it is an empty file, you can try out some api there.
  • yarn run lint: run eslint and flow check, in case you don't have editor plugin for them installed.

For now I need help of the documentation part, there are about 100 public apis and I don't know what most of them are doing. We need the format of the function parameters and the response so that we can write them in flow and jsdoc format. Any idea?

from dcard.js.

lockys avatar lockys commented on June 12, 2024

close due to #8

from dcard.js.

Related Issues (4)

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.