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

    ambitious-knife-25690

    01/22/2022, 5:20 PM
    looks like object kind, but doesn't seem to be picking up the file so maybe not
  • a

    ambitious-knife-25690

    01/22/2022, 5:20 PM
    -D react-auto-jsx
    never knew that was a define, how useful lol
  • g

    gray-state-67732

    01/22/2022, 5:20 PM
    I always have it on x)
  • g

    gray-state-67732

    01/22/2022, 5:21 PM
    How are you adding your css?
  • a

    ambitious-knife-25690

    01/22/2022, 5:22 PM
    I can send the project if it would be easier
  • a

    ambitious-knife-25690

    01/22/2022, 5:23 PM
    it's a minimum test case anyway
  • a

    ambitious-knife-25690

    01/22/2022, 5:23 PM
    just trying to accurately replicate one of the app bar demos from the mui component index
  • g

    gray-state-67732

    01/22/2022, 5:24 PM
    That's far from minimum 😛
  • a

    ambitious-knife-25690

    01/22/2022, 5:24 PM
  • g

    gray-state-67732

    01/22/2022, 5:24 PM
    External file should use "plain css"
  • a

    ambitious-knife-25690

    01/22/2022, 5:25 PM
    ohhh, so things like
    theme.spacing(3),
    won't work?
  • g

    gray-state-67732

    01/22/2022, 5:25 PM
    It won't work in any of the ways provided by react-css
  • g

    gray-state-67732

    01/22/2022, 5:25 PM
    This is material-ui only
  • a

    ambitious-knife-25690

    01/22/2022, 5:26 PM
    aaahhh damn, there goes my use case then
  • g

    gray-state-67732

    01/22/2022, 5:26 PM
    Same for breakpoints etc.
  • a

    ambitious-knife-25690

    01/22/2022, 5:26 PM
    breakpoints for css, i can live without
  • a

    ambitious-knife-25690

    01/22/2022, 5:26 PM
    oh, wait, was thinking about debugger breakpoints
  • a

    ambitious-knife-25690

    01/22/2022, 5:26 PM
    I see what you mean
  • g

    gray-state-67732

    01/22/2022, 5:26 PM
    (I meant material-ui defined breakpoints, you can still write media queries in react-css)
  • a

    ambitious-knife-25690

    01/22/2022, 5:27 PM
    yeah, breakpoints don't seem to work with jss, nor
    alpha(..)
  • g

    gray-state-67732

    01/22/2022, 5:27 PM
    You really want jss, not react-css
  • a

    ambitious-knife-25690

    01/22/2022, 5:28 PM
    yeah, that's fine, was hoping to work around an issue a different way rather than abandon the concept 😆
  • g

    gray-state-67732

    01/22/2022, 5:28 PM
    I fail to see why jss wasn't a good solution for your test though
  • a

    ambitious-knife-25690

    01/22/2022, 5:29 PM
    it works to some extent
  • g

    gray-state-67732

    01/22/2022, 5:29 PM
    What does?
  • a

    ambitious-knife-25690

    01/22/2022, 5:29 PM
    but breakpoints don't seem to work, nor does the alpha function
  • a

    ambitious-knife-25690

    01/22/2022, 5:30 PM
    jss
  • g

    gray-state-67732

    01/22/2022, 5:30 PM
    It should work for >99% of that
  • a

    ambitious-knife-25690

    01/22/2022, 5:30 PM
    (react-css now abandoned)
  • g

    gray-state-67732

    01/22/2022, 5:30 PM
    Breakpoints work, alpha uh I think it's supported too
1...666768...80Latest