Fable
Fable copied to clipboard
F# to JavaScript, TypeScript, Python, Rust and Dart Compiler
### Description Sometimes when using React you need to pass a component and that's the a library which is going to fill the props values. One solution when doing so...
The release notes for Thoth.Json 6.0.0 mentioned that Fable v4 might be removing `ITypeResolver`, and @MangelMaxime suggested I open an issue here to discuss it as I'm currently depending on...
### Description Possibly by design but worth documenting. ### Repro code [REPL](https://fable.io/repl/#?code=PYBwpgdgBAYghgIwDZgHQGFgCcwChcDaAPAIIAuZcAxgBYCyYAtgmFgM4B8AurmQJ7goAOQCuzVlAC8uKFAA+sJMDhkowAGZR1SlTPlQAkhFUaoAS2N7GTFlnMQkFsFAgBGVCQAmngBQQATABcwmK2AJRSerKMKrRQfq4ANC7+EQDuZmQ0Ufo+MDqq6kmKyoWpUAC0HCUqPkVQANRaqTkKeQVayUaqZhFVNWR1jVodva3x3ebJ+aVafdUztdqzZsPqYeM+k2bF2+X93T47w2YtuFvGUKke3u2z5XLVIFgWZOrQAEQApADyH7hAA&html=DwCwLgtgNgfAsAKAAQqaApgQwCb2ag4CdMTJcMABwFp0BHAVwEsA3AXgCIBhAewDsw6AdQAqAT0roOSAMb9BAzoIAeYAPThoAbhkhMAJwDOJNgzAAzagA4OeQhqy5EhAEY9sYu6mBq3HvD6asEA&css=Q) ```fsharp open Fable.Core [] type Number = | Float of float | Int of int member inline n1.Add(n2:...
### Description Incorrect function name is used at operator call site. ### Repro code [REPL](https://fable.io/repl/#?code=PYBwpgdgBAYghgIwDZgHQGFgCcwChcDaAPAIIAuZcAxgBYCyYAtgmFgM4B8AurmQJ7goAOQCuzVlAC8uKFAA+sJMDhkowAGZR1SlTPlQAkhFUaoAS2N62lMmapRGTFligAKANQBKVxACMALmExZwAaKAgAJkDRcSxPKT1ZRhVaNz8wyPiAdzMyGkT9VxgdVXVfMOLlUoj4gFoORSrXMqh3LRqChSKSrTCjVTM6hsqVZtatHsHOt37zCp71IcbR7SrzccXp11mzcsNjcxqoev2yV13xsw7cWYjxkdU7uQaQLAsydWgAIgBSAHkvrggA&html=DwCwLgtgNgfAsAKAAQqaApgQwCb2ag4CdMTJcMABwFp0BHAVwEsA3AXgCIBhAewDsw6AdQAqAT0roOSAMb9BAzoIAeYAPThoAbhkhMAJwDOJNgzAAzagA4OeQhqy5EhAEY9sYu6mBq3HvD6asEA&css=Q) ```fsharp open Fable.Core [] type Number = | Float of float | Int of int...
Hi, Some tiem ago there was an effort to move all Beyond-related issues to https://github.com/orgs/fable-compiler/projects/6 However, now I see that there are multiple [Beyond] issues in this repo. I think...
### Description When a static field has the `[]` attribute, Fable leaves its value as `undefined`, which can have different behavior than the .NET default value. ### Repro code ```fsharp...
### Description Following the steps in https://fable.io/blog/2021/2021-09-17-JS-decorators-Fable-3-3.html to use `ReflectedDecoratorAttribute`, the `MethodInfo` contains the mangled name of the function. ### Repro code The REPL doesn't seem to have the decorator...
### Description Format specifies don't seem to be fully implemented. Specifically, thousands separator is not applied ### Repro code https://fable.io/repl/#?code=PYBwpgdgBAygngZwC5gLYFgBQpJQGICGARgDZgB0AwsAE5hY7SGkXV3kBSCAkhCjaCxYA2gB4AoqgCWSABQAiAO5SIAE2CLyBMjTkASAAwBKeUYB8AXSxkkUbWF1RZqMAgQEA5mABcUZDRUPI18AVwgZKABeKAArBAA5AiQpADd6TBsoADNaVCSnBF88XKSkYjIYJACIIKjYRBRUckrqj3Jimjy5BHaSpAAaP3IAcTAkAEEaDxCXPgRZIyMhDLGoVSksrLqARgM9rHtHWRzO-L15AG91ze94gFYAXzWCRDsPYFMsIA&html=Q&css=Q ### Expected and actual results Expected: 1,000 Actual: 1000 ###...
### Description I've been experimenting with [ViteJS](https://vitejs.dev/) as an alternative method of bundling and running the client portion of SAFE Stack apps, and even I have managed to get something...