• markdalgleish Profile Picture

    Mark Dalgleish @markdalgleish

    2 years ago

    If you’re using Tailwind with React, what are your thoughts on @CSSHooks? Check it out first if you haven’t already. Would you switch? If not, why not?

    51 4 112 68K 73
  • jeroendotdot Profile Picture

    jeroenpg @jeroendotdot

    2 years ago

    @markdalgleish @CSSHooks The docs don't really do a good job at selling its usefulness. Hooks configuration is where you start to understand the value. Hover selector is not where it's at

    1 0 0 139 0
  • agilecoder Profile Picture

    Nick Saunders @agilecoder

    2 years ago

    @_jeroenpg @markdalgleish @CSSHooks I agree that `:hover` isn't that exciting by itself. For whatever reason, though, it's the main example people point to, historically: stackoverflow.com/questions/1316… What else should we highlight?

    1 0 1 68 0
  • jeroendotdot Profile Picture

    jeroenpg @jeroendotdot

    2 years ago

    @agilecoder @markdalgleish @CSSHooks On the landing page you show a `dark` selector but it's unclear what it does. The examples on /configuration docs make it very clear to me how the library can help. Perhaps you can show the configuration part below, or have a basic + advanced example.

    jeroendotdot tweet picture

    1 0 2 89 1
    Download Image
  • agilecoder Profile Picture

    Nick Saunders @agilecoder

    2 years ago

    @_jeroenpg @markdalgleish @CSSHooks That's an excellent point. Maybe we could introduce tabs to toggle between usage and config? But, shorter term, what do you think about featuring @markdalgleish's idea of showing the actual media query?

    agilecoder Profile Picture

    Nick Saunders @agilecoder

    2 years ago

    @_jeroenpg @markdalgleish @CSSHooks That's an excellent point. Maybe we could introduce tabs to toggle between usage and config? But, shorter term, what do you think about featuring @markdalgleish's idea of showing the actual media query?

    agilecoder tweet picture

    3 1 22 15K 1
    Download Image

    1 0 1 114 0
  • jeroendotdot Profile Picture

    jeroenpg @jeroendotdot

    2 years ago

    @agilecoder @markdalgleish @CSSHooks Introducing these tabs would tackle my concerns. Would that media query work without defining it as a hook? If it does then you could perhaps show it's equivalent to using `dark` in the previous example

    1 0 1 97 0
  • agilecoder Profile Picture

    Nick Saunders @agilecoder

    2 years ago

    @_jeroenpg @markdalgleish @CSSHooks Nope, you have to define it as a hook. But, you can eliminate any doubt about what a hook does by giving it the same name as its CSS representation. I was thinking a quick fix might be just to give all of the hook names on the homepage that same treatment...

    1 0 1 123 0
  • jeroendotdot Profile Picture

    jeroenpg @jeroendotdot

    2 years ago

    @agilecoder @markdalgleish @CSSHooks I actually expected it would work automatically, if the key provided doesn't match any defined hooks. I don't think you should recommend developers to define the actual media query as hook. It's very error-prone e.g. missing a whitespace in `@Media (prefers-color-schema:dark)`

    1 0 0 107 0
  • agilecoder Profile Picture

    Nick Saunders @agilecoder

    2 years ago

    @jeroendotdot @markdalgleish @CSSHooks @Media That is a good point; but the hook name is type-checked, and I expect autocompletion would help people avoid the issue in the first place.

    agilecoder tweet picture

    2 1 0 1K 0
    Download Image
  • jeroendotdot Profile Picture

    jeroenpg @jeroendotdot

    2 years ago

    @agilecoder @markdalgleish @CSSHooks @Media Didn't really get the chance to say but props to you for creating the lib! It definitely peaked my interest!

    1 0 1 95 0
  • jeroendotdot Profile Picture

    jeroenpg @jeroendotdot

    2 years ago

    @agilecoder @markdalgleish @CSSHooks @Media That does make it better, and you're right it probably will. What do you think about allowing raw css selector, without having to define the hook? If I only use a selector once, I don't want to define it globally. Is there a way to extend a HooksFn?

    1 0 0 91 0
  • Download Image
    • Privacy
    • Term and Conditions
    • About
    • Contact Us
    • TwStalker is not affiliated with X™. All Rights Reserved. 2024 instalker.org

    twitter web viewer x profile viewer bayigram.com instagram takipçi satın al instagram takipçi hilesi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al sosyalgram takipçi satın al instagram ücretsiz takipçi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al metin2 metin2 wiki metin2 ep metin2 dragon coins metin2 forum metin2 board popigram instagram takipçi satın al takipçi hilesi twitter takipçi satın al tiktok takipçi satın al tiktok beğeni satın al tiktok izlenme satın al beğeni satın al instagram beğeni satın al youtube abone satın al youtube izlenme satın al buyfans buy instagram followers buy instagram likes buy instagram views buy tiktok followers buy tiktok likes buy tiktok views buy twitter followers buy telegram members Buy Youtube Subscribers Buy Youtube Views Buy Youtube Likes forstalk postegro web postegro