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

    ambitious-knife-25690

    07/22/2021, 1:52 PM
    oh hm
  • a

    ambitious-knife-25690

    07/22/2021, 1:53 PM
    i don't see myself going away from class components either
  • a

    ambitious-knife-25690

    07/22/2021, 1:53 PM
    i guess i'll not worry so much about that then and see if i can think up some qol changes
  • u

    user

    07/22/2021, 1:53 PM
    The design is crap, it's pure javascript bullshit x) depends on order of execution, based on Array which doesn't work well with haxe (can use an abstract there to clean it, like Juraj did in an example)
  • a

    ambitious-knife-25690

    07/22/2021, 1:54 PM
    it would be nice if jsx errors were better and you could forward completion context properly
  • a

    ambitious-knife-25690

    07/22/2021, 1:54 PM
    i'm not sure if macros allow that, but i might look into that instead then
  • u

    user

    07/22/2021, 1:54 PM
    Yeah I want to try to improve that too
  • u

    user

    07/22/2021, 1:54 PM
    Completion on props would be nice
  • a

    ambitious-knife-25690

    07/22/2021, 1:54 PM
    yeah
  • u

    user

    07/22/2021, 1:55 PM
    And on node names x)
  • a

    ambitious-knife-25690

    07/22/2021, 1:55 PM
    we put the effort into nice externs and don't get the nice integration 😅
  • a

    ambitious-knife-25690

    07/22/2021, 1:55 PM
    is it possible to do, technically?
  • u

    user

    07/22/2021, 1:55 PM
    At least we do get completion on prop values (material-ui's enums for example)
  • u

    user

    07/22/2021, 1:56 PM
    I think so
  • a

    ambitious-knife-25690

    07/22/2021, 1:56 PM
    do we? 🤔
  • u

    user

    07/22/2021, 1:56 PM
    Well, when complication server hasn't gone wrong x)
  • u

    user

    07/22/2021, 1:56 PM
    But currently jsx mostly aborts completely on display requests iirc
  • a

    ambitious-knife-25690

    07/22/2021, 1:56 PM
    well, for react/react next i almost never get "bad" macro errors
  • u

    user

    07/22/2021, 1:56 PM
    Yeah but completion often stops working
  • a

    ambitious-knife-25690

    07/22/2021, 1:57 PM
    huh, i may have never noticed that, i just thought completion never worked in jsx lol
  • u

    user

    07/22/2021, 1:57 PM
    Nah, completion outside jsx breaks
  • u

    user

    07/22/2021, 1:57 PM
    Then it doesn't work inside either ofc
  • a

    ambitious-knife-25690

    07/22/2021, 1:58 PM
    i've noticed completion getting slow often, was i correlating that to some other issue incorrectly? 🤣
  • a

    ambitious-knife-25690

    07/22/2021, 2:00 PM
    fixing that side of things may be outside of my abilities tho, but i'll eventually mess around with the jsx stuff to see if completion can be added, that seems like something a bit easier for a macro beginner
  • a

    ambitious-knife-25690

    07/22/2021, 2:03 PM
    for now, on with the externs...
  • a

    ambitious-knife-25690

    07/22/2021, 3:03 PM
    i've got a prop that has the same name as a keyword
  • a

    ambitious-knife-25690

    07/22/2021, 3:03 PM
    is there a workaround for this?
  • a

    ambitious-knife-25690

    07/22/2021, 3:04 PM
    to my knowledge,
    @:native
    currently doesn't work on obj yet, does it?
  • a

    ambitious-knife-25690

    07/22/2021, 3:20 PM
    this compiles, but for some reason
    @:native
    is being ignored
  • u

    user

    07/22/2021, 5:17 PM
    Yeah itdoesn'twork:x
1...626364...80Latest