Skip to content

Examples are not idiomatic? #46

@rolandpeelen

Description

@rolandpeelen

Hey!

I see the examples go like this:

open BsStorybook.Story;

let _module = [%bs.raw "module"];

storiesOf("My First Reason Story", _module)
->add("Chapter I", () => <span> {React.string("Hello rescript-storybook!")} </span>);

But afaik - prefixing something with an underscore tells the compiler it should be ignored. I think the idiomatic way is to postfix it with an underscore, no? module_ instead of _module ?

Completely low-prio issue / nit. But happy to create a PR for this :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions