Skip to content

Style guide #81

Open
Open
@tom-sherman

Description

@tom-sherman

This library will be far from "complete" at v1 due to many missing bindings, but also it will be forever expanding as the web platform expands.

Couple this with the fact that ReScript bindings are not simpl typed declarations to existing JS (a la lib.dom.d.ts), they are more new APIs that model the underlying platform. It makes the API decisions of this library more of a creative and subjective endeavour than it may be in TypeScript-land.

That's a lot of words to say that I think a style guide is valuable. It would:

  • Help to keep the API consistent as this library grows
  • Aid users in the discoverability of the API. If you know how a Web API works you should be able to intuit how rescript-webapi does it
  • Make lives easier for external contributors

Maybe we can use this issue as a starting point for what would be included in this documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions