Code Monkey home page Code Monkey logo

Comments (8)

alfonsogarciacaro avatar alfonsogarciacaro commented on August 20, 2024 1

I've released a fable-react 1.2.0-beta-002 targeting netstandard1.6 again 👍 But please note there're still a few breaking API changes (basically you'll have to remove the !^ wherever the compiler complaints).

from fable-react.

MangelMaxime avatar MangelMaxime commented on August 20, 2024

I think like @et1975 if we can avoid to force user to upgrade their project would be nice. For example, if I make public next version of Fable.Elmish.Bulma all the users would be forced to upgrade their systems and projects.
Could be better to not force them IMO. As it's kind of breaking change we could avoid no ?

from fable-react.

MangelMaxime avatar MangelMaxime commented on August 20, 2024

Wait I just think about something.

With Fable we are sharing the fsproj file which itself target netstandard2.0 so in any case we need the users to update to it no ?

from fable-react.

et1975 avatar et1975 commented on August 20, 2024

Yes, if Fable.Core targets 2.0 we may have to upgrade anyway... and Fable.Core will probably want to target netstandard2.0 for ... TypeProviders? What else is it good for in JS world?
cc @enricosada @ncave @alfonsogarciacaro

from fable-react.

alfonsogarciacaro avatar alfonsogarciacaro commented on August 20, 2024

My main reason was that netstandard2.0 doesn't have the System.XXX dependencies so I was guessing that moving everything to netstandard2.0 we could alleviate the size of the packages folder. However latest Paket version has an option to use Nuget cache instead and I'm working to make Fable able to access library sources even if they're not in the packages folder. If it works, we may not need to upgrade everything to netstandard2.0 at the end :)

from fable-react.

MangelMaxime avatar MangelMaxime commented on August 20, 2024

Ok, so we would need to update a project to netstandard 2.0 only if it's use a netstandard 2.0 feature ?
Like type providers ?

from fable-react.

MangelMaxime avatar MangelMaxime commented on August 20, 2024

Even if Fable.Core doesn't target 2.0, if any of the lib used by the user use an fsproj with 2.0 format (no manual FSharp.Net.SDK in it) then will users need to upgrade to netstandard 2.0 ?

I am asking the question because in order to build a library with netstandard 2.0 runtime we need to modify the fsproj (remove FSharp.Net.SDK references, etc.). But when working on a project including both netstandard 2.0 and netstandard 1.6 libs it's compiling. Which is normal as netstandard is orthonogal to 1.6.

However Fable, use internally project reference to include others project files into your application and access the whole AST etc. And it's working even if some of the fsproj are using netstandard 1.6 format. Is it only the main project which need to implement the runtime specificities ?

from fable-react.

MangelMaxime avatar MangelMaxime commented on August 20, 2024

I am closing as we released a stable version.

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.