Skip to content

The Lodash wrapper function (aka OOP Style) is very hard to find in the docs #242

Open
@SimonEast

Description

@SimonEast

The Underscore.js docs have a section explaining the "OOP Style" and how chaining works. This info is not nearly as visible in the Lodash docs.

For a while I assumed Lodash didn't even support this syntax until trying it recently. Only after scrolling very carefully through the entire doc list did I notice an entry for _ under Seq which when clicking that single character started to explain that functionality. (But I still don't know what a Seq is 😝 or why it's under that heading. Maybe it stands for method chain sequence? But will newcomers know that?)

Could there possibly be a more visible heading for this content seeing as it's not just "another Lodash function" but really an entirely different way of interacting with the whole library. Perhaps something akin to the Underscore docs?

(And by the way, what does _#value mean? Shouldn't it say .value()?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions