Fable icon indicating copy to clipboard operation
Fable copied to clipboard

F# to JavaScript, TypeScript, Python, Rust and Dart Compiler

Results 285 Fable issues
Sort by recently updated
recently updated
newest added

Add a new type to Fable.Core.JSX (I need to check it doesn't conflict with JSX.ComponentAttribute) similar to: ```fsharp module Fable.Core.JSX type Component = abstract Create: props: Prop list -> Element...

### Description Recently, I discovered that we could use constructor overload in order to improve the binding experience when using F#. In the following, exemple we are able to abstract...

enhancement
discussion

It looks like Dart also has [numeric typed arrays](https://api.flutter.dev/flutter/dart-typed_data/dart-typed_data-library.html) like JS to improve space efficiency. We should use them as we do with JS, specially `Uint8List` (byte[]) for image processing....

This is an example on how to emit types (vs expressions) for Rust, see #2887. Probably won't be merged for Dart

Right now the uncurrying mechanism only takes one-arity into account. However, we usually remove the argument when this is of type `unit`, so we need to also consider zero-arity. In...

@dbrattli After trying it for a while, I'm less convinced of the region compilation feature. This is because it forces users to continuously switch between the F# and Python files...

python

This is a continuation of the discussion started [here](https://github.com/fable-compiler/Fable/pull/2774#discussion_r793233947). Not sure about Rust, but because Python and Dart imports work in a similar way to JS, we can reuse the...

So far Fable sanitizes the names of detached members but not of fields/attached members. This is because in JS you can use a string expression for object keys the so...

### Description We have a record with around 200+ fields which is getting updated quite a lot using an Elmish page. However because of the number of field and updates...

Fable has predefined types `U2`, `U3`, ... so that tools such as `ts2fable` can use it to bind to union types coming from TypeScript. But Fable lacks the intersection counterpart,...