Comments (8)
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.
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.
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.
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.
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.
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.
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.
I am closing as we released a stable version.
from fable-react.
Related Issues (20)
- module.hot.addStatusHandler is not a function HOT 8
- React Server Components integration HOT 2
- Can't figure out how to wrap my view with a Higher Order Component HOT 4
- JsInterop helper for wrapping a higher order component HOT 2
- Can't reference React in Fable HOT 2
- Fable.ReactServer.cssProp very slow HOT 4
- Add Custom DU to DOMAttr HOT 1
- FunctionComponent.Lazy and SSR HOT 1
- Update samples to Fable 3
- ReactDOM.hydrate is no longer supported in React 18 HOT 17
- Can't update shared state passed with useContext? HOT 3
- Q: Use ReactElement import member for Storybook HOT 3
- Missing 'open' from Fable.React.Props? HOT 2
- Last Fable.React upgrade breaks my code HOT 7
- Publish source files from Fable.React.Types and Fable.ReactDom.Types to nuget HOT 5
- Fable.React version 8 depends on React.Dom gte 18 lt 19 according to femto
- Add Pointer Events HOT 3
- Why is useCallback not implemented? HOT 3
- How to obtain a component ref in a function component? HOT 5
- FunctionComponent.Of functions cache breaks reusable code HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fable-react.