Skip to content
This repository was archived by the owner on Sep 15, 2026. It is now read-only.
This repository was archived by the owner on Sep 15, 2026. It is now read-only.

Examples are not idiomatic? #46

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 :)

Activity

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

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