Skip to content

Docs should better explain what this package actually does #384

Description

@jonchurch

Cutting this issue to track some docs changes I have queued up, and am open to feedback.

CORS is confusing, infamously so. And we will sometimes get users who are confused about what it is and how it works.

I don't really want the README to try and teach folks everything about CORS, but I do want to try and help people out by improving the documentation to hopefully catch some of the repeat issues we see.

So below is a summary of what I've seen across various issues historically here, and some simple suggestions for improving the readme.

Problem

Users regularly open issues demonstrating misunderstandings about what this package does:

The common thread: users think CORS is server-side access control.

The documentation doesn't clearly state what the library actually does, and uses ambiguous language:

  • "Enable CORS" / "allow origins" suggests blocking
  • "reflect" is jargon that doesn't explain actual header behavior
  • No mention that browsers enforce CORS, not servers

Proposed Improvements

Activity

  1. self-assigned this
    on Jan 12, 2026
  2. jonchurch commented on Jan 12, 2026

    @jonchurch
    MemberAuthor
  3. jub0bs commented on Mar 19, 2026

    @jub0bs

    CORS is confusing, infamously so. And we will sometimes get users who are confused about what it is and how it works.

    Two more ideas for v3 that would help clear up some of the confusion surrounding CORS:

  4. Prawshant123-ui commented on Jun 7, 2026

    @Prawshant123-ui

    Hi! I'd like to work on this issue.
    I'll improve the README to clarify that CORS is browser-enforced
    and clean up the ambiguous language as suggested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions