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

feat(HMR): apply changes in page styles at runtime #6857

Merged
merged 5 commits into from
Feb 14, 2019

Conversation

vchimev
Copy link
Contributor

@vchimev vchimev commented Feb 4, 2019

PR Checklist

What is the current behavior?

Currently, a style change in page .css or .scss navigates to the same page where the change is applied.

What is the new behavior?

The new behavior uses the context passed by nativescript-dev-webpack to determinate whether changes have been made to page .css or .scss file. If so, apply them at runtime and avoid executing navigation to the same page.

This is an implementation for the scenarios where the root of the app is a Frame.

@ghost ghost assigned vchimev Feb 4, 2019
@ghost ghost added the in progress label Feb 4, 2019
@vchimev vchimev requested review from vakrilov, manoldonev, MartoYankov and ADjenkov and removed request for vakrilov and manoldonev February 4, 2019 12:58
@ns-bot ns-bot added the cla: yes label Feb 4, 2019
@vchimev vchimev changed the title feat(HMR): apply changes in page styles at runtime [Do Not Merge] feat(HMR): apply changes in page styles at runtime Feb 6, 2019
@vchimev vchimev changed the title [Do Not Merge] feat(HMR): apply changes in page styles at runtime feat(HMR): apply changes in page styles at runtime Feb 7, 2019
Add a comment.
Update `let` to `const`.
Update `changesCssFile` test.
@lock
Copy link

lock bot commented Feb 14, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Feb 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants