Skip to content
New issue

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

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

Already on GitHub? # to your account

using disableWebsockets instead of useWebsockets #3686

Merged
merged 2 commits into from
May 31, 2018
Merged

Conversation

Gongreg
Copy link
Member

@Gongreg Gongreg commented May 30, 2018

Additional PR for #3636. As discussed with @shilman it would be better to maintain backwards compatibility with using both onDeviceUI and storybook server at the same time. So I swapped useWebsockets with disableWebsockets. So now if somebody will want to use storybook without server in the app he will have to pass in the disableWebsockets option. This will be described in some documentation when we start separating RN storybook into two parts.

@Gongreg Gongreg requested a review from shilman May 30, 2018 08:01
Copy link
Member

@shilman shilman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, can we also document this in the README?

@codecov
Copy link

codecov bot commented May 30, 2018

Codecov Report

Merging #3686 into master will not change coverage.
The diff coverage is 0%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3686   +/-   ##
=======================================
  Coverage   41.55%   41.55%           
=======================================
  Files         458      458           
  Lines        5058     5058           
  Branches      849      849           
=======================================
  Hits         2102     2102           
  Misses       2451     2451           
  Partials      505      505
Impacted Files Coverage Δ
app/react-native/src/preview/index.js 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dd867d2...5566866. Read the comment docs.

@Hypnosphi
Copy link
Member

@shilman IDK, some problem with cached dependencies maybe. Corresponding TeamCity build passes

@Hypnosphi Hypnosphi merged commit 44e29aa into master May 31, 2018
@Hypnosphi Hypnosphi deleted the disableWebsockets branch May 31, 2018 10:53
@Hypnosphi
Copy link
Member

@shilman To make it more deterministic, you can add marko-widgets as top-level devDependency

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants