mirror of
https://github.com/kusti8/proton-native.git
synced 2026-05-15 22:02:24 -06:00
[GH-ISSUE #119] Why does this package depend on react-dom? #75
Labels
No labels
bug
documentation
enhancement
libui issue
pull-request
question
wait for libui implementation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/proton-native#75
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @benwiley4000 on GitHub (May 10, 2018).
Original GitHub issue: https://github.com/kusti8/proton-native/issues/119
I'm just wondering since the only reference to react-dom I could find is in the package.json, and it seems like that wouldn't be relevant here. I might have missed something!
Separately: I think react should be a peer dependency, not a normal dependency - this is generally the convention with React libraries since React breaks if more than one copy is running at a time.
@kusti8 commented on GitHub (May 11, 2018):
I agree that a peer dependency would be ideal, but create-proton-app would have to be updated as well to install react, as well as existing projects. If this becomes a large issue I'll change it, but for now I'll let it be a dependency.
@benwiley4000 commented on GitHub (May 11, 2018):
I agree with that - I think it should be scheduled for the next major
release (2.0). Since breaking changes are expected, it's a fair time to
make it required as an external dependency.
Le ven. 11 mai 2018 18 h 15, Gustav Hansen notifications@github.com a
écrit :