FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(HMR): apply changes in page styles at runtime by vchimev · Pull Request #6857 · NativeScript/NativeScript · GitHub

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

Merged
vchimev merged 5 commits into
masterfrom
vchimev/hmr-page-styles
Feb 14, 2019
Merged

vchimev merged 5 commits into
masterfrom
vchimev/hmr-page-styles

Conversation

vchimev commented Feb 4, 2019 •
edited
Loading

Copy link
Copy Markdown
Contributor

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 assigned vchimev Feb 4, 2019
ghost added the in progress label Feb 4, 2019
vchimev requested review from ADjenkov, MartoYankov, manoldonev and vakrilov and removed request for manoldonev and vakrilov February 4, 2019 12:58
ns-bot added the cla: yes label Feb 4, 2019
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 force-pushed the vchimev/hmr-page-styles branch from ae5ca26 to 31a795e Compare February 7, 2019 13:36
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
vchimev force-pushed the vchimev/hmr-page-styles branch from 31a795e to be4b7f7 Compare February 11, 2019 07:12
vchimev force-pushed the vchimev/hmr-page-styles branch from a6b0d17 to d6da422 Compare February 12, 2019 11:27
Comment thread tests/app/ui/styling/style-tests.ts Outdated
Add a comment.
Update `let` to `const`.
Update `changesCssFile` test.

lock Bot commented Feb 14, 2020

Copy link
Copy Markdown

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 Bot locked and limited conversation to collaborators Feb 14, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL