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

Blacklist media branches #12

Open
theKashey opened this issue May 7, 2019 · 0 comments
Open

Blacklist media branches #12

theKashey opened this issue May 7, 2019 · 0 comments

Comments

@theKashey
Copy link
Collaborator

In case of SSR, powered by a device detection and adaptive rendering (#11) it could be useful to blacklist impossible branches.

  • for real "mobile" devices desktop mode is not possible
  • for desktop devices any mode is possible
  • in case of any mistake with UA detection CSR would fix the problem

As a result we might ship less code for small devices.

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

1 participant