Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put m.stream in flarum/utils/stream #2316

Merged
merged 3 commits into from
Sep 28, 2020
Merged

Put m.stream in flarum/utils/stream #2316

merged 3 commits into from
Sep 28, 2020

Conversation

askvortsov1
Copy link
Sponsor Member

No description provided.

@clarkwinkelmann
Copy link
Member

I'm a bit confused with the capitalization. It seems the import path is lowercase, but the actual method/object is called Stream with uppercase in Mithril? https://mithril.js.org/stream.html

If so I think we should use the same capitalization as Mithril for our object. I see this PR already exports it as default with uppercase, but then everywhere the default is imported as lowercase.

Alternatively I wouldn't be against calling it prop. But I suppose it's best to keep the naming as consistent as possible with Mithril.

@askvortsov1 askvortsov1 merged commit cc875f3 into master Sep 28, 2020
@askvortsov1 askvortsov1 deleted the as/stream-to-utils branch September 28, 2020 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants