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

Fable.React version 8 depends on React.Dom gte 18 lt 19 according to femto #236

Open
sonicbhoc opened this issue Jan 13, 2023 · 0 comments

Comments

@sonicbhoc
Copy link

If I'm understanding correctly, Fable.React v9 targets React 18, while older versions target 17. However, when I use femto --resolve I get the following result:

[12:56:43 INF] Fable.React requires npm package react
[12:56:43 INF]   | -- Required range >= 18.0.0 < 19.0.0
[12:56:43 INF]   | -- Resolution strategy 'Max'
[12:56:43 INF]   | -- ✔ Found version 18.2.0 that satisfies the required range
[12:56:43 INF] Fable.React requires npm package react-dom
[12:56:43 INF]   | -- Required range >= 18.0.0 < 19.0.0
[12:56:43 INF]   | -- Resolution strategy 'Max'
[12:56:43 INF]   | -- ✔ Found version 18.2.0 that satisfies the required range

However, I'm sticking with Fable.React v8 specifically to not jump into Fable the 4 ecosystem until it is more stable. This presents a problem, since Feliz 1.68 depends on react gte 17 lt 18:

[12:56:43 INF] Feliz requires npm package react
[12:56:43 INF]   | -- Required range >= 17.0.1 < 18.0.0
[12:56:43 INF]   | -- Resolution strategy 'Max'
[12:56:43 INF]   | -- ✔ Found version 17.0.2 that satisfies the required range
[12:56:43 INF] Feliz requires npm package react-dom
[12:56:43 INF]   | -- Required range >= 17.0.1 < 18.0.0
[12:56:43 INF]   | -- Resolution strategy 'Max'
[12:56:43 INF]   | -- ✔ Found version 17.0.2 that satisfies the required range

Because of this, my dependencies will never resolve properly.

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

No branches or pull requests

1 participant