Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

refactor(HMR): rename module to path in context object #787

Merged
merged 2 commits into from
Feb 4, 2019

Conversation

vchimev
Copy link
Contributor

@vchimev vchimev commented Feb 4, 2019

The global.__hmrRefresh() function accepts a context object which consists of two properties:

  • a type of the module
  • a relative path of the module from the application root

PR Checklist

What is the current behavior?

The context object consists of type and module properties.

What is the new behavior?

The context object consists of type and path properties.

@vchimev vchimev changed the title refactor: rename module to path in context object refactor(HMR): rename module to path in context object Feb 4, 2019
@vchimev vchimev merged commit cc82df3 into master Feb 4, 2019
@vchimev vchimev deleted the vchimev/re-hmr branch February 4, 2019 14:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants