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

Question on best practice to start/stop modules on breakpoint change #193

Closed
tonymihay opened this issue Oct 2, 2017 · 1 comment
Closed

Comments

@tonymihay
Copy link

tonymihay commented Oct 2, 2017

Hi there!

In my application I have several modules which should run only on "desktop" breakpoint.
In order to improve performance on "mobile" viewport I would like to get them stop after breakpoint switch. But at the same time, they should get back to work on "desktop".
Has anyone faced the same issue?
I have an idea to create a service which will start/stop modules on breakpoint switch. But I'm not sure whether it is a good way.

@j3tan
Copy link
Contributor

j3tan commented Mar 21, 2018

I'm going to close this since it's not really an issue.

However, it does sound like you're on the right track with using a service to start/stop modules.

@j3tan j3tan closed this as completed Mar 21, 2018
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

No branches or pull requests

2 participants