Code Monkey home page Code Monkey logo

Comments (7)

irium avatar irium commented on July 19, 2024 2

@alfonsogarciacaro

Would you mind to send a PR for that?

I've done what I can :)

from fable-react.

alfonsogarciacaro avatar alfonsogarciacaro commented on July 19, 2024 1

@MangelMaxime and I discussed the pros and cons before putting the extension here and at the end we agreed to include the extension in this repo but distribute it as a different package (so Fable.React users don't need to download code they won't use).

One of the reasons not to add ReactLeaflet in fable-import was that repo only contains pure bindings which only have metadata and thus can be distributed just in .dll form. But ReactLeaflet contains actual code so it needs to include also sources in the distribution.

In any case, I agree it's a great idea to update the README. Would you mind to send a PR for that?

from fable-react.

MangelMaxime avatar MangelMaxime commented on July 19, 2024 1

If you take a look at the dependencies listed here you will see no one about Fable.ReactLeaflet so you are not downloading every time you you Fable.React.

And adding Fable.ReactLeaflet to this repo is in fact to organize the code. It's easier to maintain for us as a maintainer instead of having one repo per react package for example.

I agree with you and @alfonsogarciacaro about adding this kind of information into the README.md to help people understand the choice.

from fable-react.

forki avatar forki commented on July 19, 2024

Ok serious question: why does it matter?

from fable-react.

irium avatar irium commented on July 19, 2024

It matters because there should be orderliness and discipline in every thing, that relates to organizing code. After all - all programming is fight with complexity. There should be clean and simple rules how to organize code at every level. (And I simply don't understand why they put it here).
If we'll start to break them - it will quickly lead to chaos at least in this area: Fable-React integrations.
Otherwise I'd expect some README that explains something like "from now on we decided, that all Fable-React import libs should be placed here". This is also an option.

There is already a great repo for all Fable-JS integrations: fable-import

from fable-react.

forki avatar forki commented on July 19, 2024

from fable-react.

irium avatar irium commented on July 19, 2024

@alfonsogarciacaro Ok, got it! Thanks for reply! The thing that React.Leaflet is in the separate package completely answered all of my misunderstanding.

from fable-react.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.