-
Notifications
You must be signed in to change notification settings - Fork 21
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
Split this repo in 2: react and react-native #43
Comments
The problem with having this repo support both The split will make the dependency hierarchy correct, allowing for tools like Femto to resolve the dependencies automatically without the user having to look up and manually install the npm packages required |
Makes sense 👍 |
I am working on the repo split and face a decision. In this repo, we have a Should we create three repos?
Where Should we duplicate the Should we finally deprecate Personally, I am in favour of creating 3 repos or deprecating the |
I feel like separation of 3 repo's is a bit overkill: why not simply add |
Because code duplication is never a good thing especially if we can have a simple solution. But it's indeed a solution. Also, having 3 packages follows react package organisation and makes everything explicit. I prefer to have several opinions on this subject as I don't want to do the split/breaking change several times. |
I expected this would come up, here are some thoughts:
|
I don't really understand how ReactXP works (didn't set up a whole project for it). But by looking at the example and documentation it's a separate library from react. They seem to require the user to include both
I agree
I need to check but because of I would say the safe move is to follow the JS dependencies. |
No, Fable.Elmish.React will be downloaded automatically if it is a dependency of Fable.Elmish.React.Dom and the user only installs Fable.Elmish.React.Dom |
Description
We are introducing a new tool in Fable ecosystem called Femto.
The goal of this tool is to help people check if they have the required npm packages installed.
However, we are facing a problem with
Fable.Elmish.React
because it's using:react-dom
API exposed fromFable.React
: sourcereact-native
API by importing it locally via interop: sourceBut we don't want the user to install
react-native
if they are targetting only the browser.@et1975 Would you agree to split this repo between
Fable.Elmish.React
andFable.Elmish.ReactNative
?For info, we are also planning to strip
Fable.React
fromReactDom
API in order to have this tree of deps. And so if you agree, we will prepare up front theFable.React
/Fable.ReactDom
split and then work onFable.Elmish.React
split.The text was updated successfully, but these errors were encountered: