You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The website should output:
same variable:3!
same variable:3!
same variable:3!
...because I import the exact same component three times and increment it three times (one time with an absolute path and two times with a relative path)!
Actual Behavior
The output is:
same variable:1!
same variable:2!
same variable:2!
Additional Information
The reason is that the component included with an absolute path is compiled as another component as the two components, which are included with a relative path! So the one included with an absolute path is incremented one time, while the two components, which are included with a relative path are incremented two times.
Hey folks. This issue hasn't received any traction for 60 days, so we're going to close this for housekeeping. If this is still an ongoing issue, please do consider contributing a Pull Request to resolve it. Further discussion is always welcome even with the issue closed. If anything actionable is posted in the comments, we'll consider reopening it. ⓘ
@masrlinu I must be missing your contribution to resolve this issue. Please let us know where your PR is to fix, and we'll be happy to reopen the issue.
You may also find this interesting: http://liberamanifesto.com. Please don't comment on repo management in bug issues.
Yes, sorry! I completely read the manifesto and know that you don't owe me anything. You don't need to fix the bug, but could you please let this bug open, so that everybody, who uses relative and absolute include paths is informed that this is not supported by this plugin and that he should either just use relative or just use absolute paths, but not a combination? Because if he uses a combination, this leads to bugs, whose origin is VERY hard to detect!
Expected Behavior
The website should output:
same variable:3!
same variable:3!
same variable:3!
...because I import the exact same component three times and increment it three times (one time with an absolute path and two times with a relative path)!
Actual Behavior
The output is:
same variable:1!
same variable:2!
same variable:2!
Additional Information
The reason is that the component included with an absolute path is compiled as another component as the two components, which are included with a relative path! So the one included with an absolute path is incremented one time, while the two components, which are included with a relative path are incremented two times.
It is the same bug, which I created here:
#296
This is just now an example, that this bug has a direct effect on projects and the bug cannot be ignored!
The text was updated successfully, but these errors were encountered: