https://linen.dev logo
Join Discord
Powered by
# react
  • u

    user

    01/28/2020, 4:02 PM
    You can't get the crap out of javascript when you're still javascript =/
  • b

    brainy-machine-50829

    01/28/2020, 4:03 PM
    I like to reference Cross Code and Switch port for that. 😄
  • b

    brainy-machine-50829

    01/28/2020, 4:03 PM
    In gamedev contex anyway.
  • a

    ambitious-knife-25690

    01/28/2020, 4:06 PM
    I can't argue it well as I don't have much experience with typescript so all I have to go by are others experiences
  • u

    user

    01/28/2020, 4:09 PM
    I haven't coded too much in typescript but I have read a lot of projects' code and the mess is still there
  • a

    ambitious-knife-25690

    01/28/2020, 4:09 PM
    Same
  • h

    hundreds-dentist-88554

    01/28/2020, 4:09 PM
    a quick way to explain it for me is: haxe = typescript + more - pain
  • a

    ambitious-knife-25690

    01/28/2020, 4:09 PM
    But these people just don't understand it 😂
  • u

    user

    01/28/2020, 4:10 PM
    Sometimes there are types, sometimes the types are the code somehow, too often you have
    Any
    or
    Function
    , too many times the type doesn't even match the real data but typescript doesn't care
  • u

    user

    01/28/2020, 4:11 PM
    Most of the times it goes - yeah the lib is in typescript, writing good externs will be easy o/ [a few minutes later] - ok wtf, I'll have to dig into the actual code to figure out what it is and never trust the types :(
  • m

    miniature-summer-93860

    01/28/2020, 9:28 PM
    Haxe is it's own language and comes at targets much differently and preferable in my view where as typescript is just a flavor of js with types it doesn't do much to get away from the issues js brings
  • m

    miniature-summer-93860

    01/28/2020, 9:29 PM
    Other answers here were along the same lines as well though and quite good.
  • m

    miniature-summer-93860

    01/28/2020, 9:29 PM
    I just wanted to emphasize that comparing typescript with haxe seems a little off the mark just based on the level that the languages are at.
  • a

    ambitious-knife-25690

    01/31/2020, 1:58 AM
    Why is react taking over my completion
  • a

    ambitious-knife-25690

    01/31/2020, 1:58 AM
    I have tried restarting language server, restarting vscode
  • a

    ambitious-knife-25690

    01/31/2020, 1:58 AM
    I have no errors in my code, everything compiles
  • a

    ambitious-knife-25690

    01/31/2020, 1:58 AM
    but I get no completion
  • a

    ambitious-knife-25690

    02/07/2020, 3:29 PM
    @User What's your recommended way of setting up an up to date react-native project?
  • a

    ambitious-knife-25690

    02/07/2020, 3:30 PM
    I want to just use the default rn script but I remember you saying it adds a lot of bulk that haxe doesn't need
  • u

    user

    02/10/2020, 8:27 AM
    I never used rn =/
  • u

    user

    02/10/2020, 8:28 AM
    Not sure if @happy-rain-10364 is around, but iirc he setup some rn + react-next apps (without coconut)
  • a

    ambitious-knife-25690

    02/11/2020, 1:37 AM
    How do you deal with it for react apps?
  • a

    ambitious-knife-25690

    02/11/2020, 1:37 AM
    I'm sure there's some cross over to the methodology
  • u

    user

    02/11/2020, 8:27 AM
    I got some webpack config that work, though I'd like to spend some time to optimize them because it seems there's still a lot more than needed in there (but I use so many libs.. =/)
  • a

    ambitious-knife-25690

    02/15/2020, 2:35 PM
    lel
  • c

    cool-psychiatrist-49311

    02/16/2020, 11:32 PM
    I just setup rn project with the official cli
  • c

    cool-psychiatrist-49311

    02/16/2020, 11:33 PM
    Then make haxe output to so that it replaces the index.js file
  • a

    ambitious-knife-25690

    02/16/2020, 11:57 PM
    That's what I do
  • a

    ambitious-knife-25690

    02/16/2020, 11:58 PM
    but klabz said there's a lot of unnecessary stuff bundled that haxe doesn't need
  • a

    ambitious-knife-25690

    02/16/2020, 11:58 PM
    so it would be cool to see the back to back difference
1...394041...80Latest