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

fix: fix module resolving #78

Merged
merged 1 commit into from
May 12, 2018
Merged

fix: fix module resolving #78

merged 1 commit into from
May 12, 2018

Conversation

gregberge
Copy link
Owner

@gregberge gregberge commented May 12, 2018

This issue fixes #59

It is possible to create a configuration which will result into a wrong state but it should not happen in 99.99% cases:

-App
  -A
    -B
    -C
  -D
    -E
    -F
    -G

If BC and EFG have the same name we could have a problem because we rely on the order of loading of A and D and it could be different on client and server.

Anyway this edge case is acceptable, issue will solve 99% of use-cases.

This issue fixes #59

It is possible to create a configuration which will result into a wrong state but it should not happen in 99.99% cases.
@codecov
Copy link

codecov bot commented May 12, 2018

Codecov Report

Merging #78 into master will increase coverage by 0.29%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #78      +/-   ##
==========================================
+ Coverage   88.54%   88.83%   +0.29%     
==========================================
  Files          15       15              
  Lines         192      197       +5     
  Branches       50       53       +3     
==========================================
+ Hits          170      175       +5     
  Misses         20       20              
  Partials        2        2
Impacted Files Coverage Δ
src/componentTracker.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 624e8f8...10318b0. Read the comment docs.

@gregberge gregberge merged commit 6b5104f into master May 12, 2018
@gregberge gregberge deleted the fix-module-resolving branch May 12, 2018 14:16
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

Successfully merging this pull request may close these issues.

Bug with server-side render and modules resolving
1 participant