Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. me: I need to make a simple web-app for a projectalso me: I need to learn some react basics for a job interview

me: I need to make a simple web-app for a projectalso me: I need to learn some react basics for a job interview

Scheduled Pinned Locked Moved Uncategorized
141 Posts 77 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • foone@digipres.clubF foone@digipres.club

    * fix dark mode. I didn't have a migraine the last time I was coding on this ✅

    foone@digipres.clubF This user is from outside of this forum
    foone@digipres.clubF This user is from outside of this forum
    foone@digipres.club
    wrote last edited by
    #85

    WHY WON'T THEME SWITCHING WORK

    foone@digipres.clubF 1 Reply Last reply
    0
    • foone@digipres.clubF foone@digipres.club

      WHY WON'T THEME SWITCHING WORK

      foone@digipres.clubF This user is from outside of this forum
      foone@digipres.clubF This user is from outside of this forum
      foone@digipres.club
      wrote last edited by
      #86

      okay my theme switching does kinda work if I hardcode it to dark mode, then I can switch the theme

      but it only affects the theme, not the background.

      But the background is set by the system theme, so if you have the theme set to lightmode and system them set to dark, you get a black background and black UI form

      So it's just invisible

      foone@digipres.clubF 1 Reply Last reply
      0
      • foone@digipres.clubF foone@digipres.club

        okay my theme switching does kinda work if I hardcode it to dark mode, then I can switch the theme

        but it only affects the theme, not the background.

        But the background is set by the system theme, so if you have the theme set to lightmode and system them set to dark, you get a black background and black UI form

        So it's just invisible

        foone@digipres.clubF This user is from outside of this forum
        foone@digipres.clubF This user is from outside of this forum
        foone@digipres.club
        wrote last edited by
        #87

        <CssBaseline /> was the issue. I wasn't including it

        foone@digipres.clubF 1 Reply Last reply
        0
        • foone@digipres.clubF foone@digipres.club

          <CssBaseline /> was the issue. I wasn't including it

          foone@digipres.clubF This user is from outside of this forum
          foone@digipres.clubF This user is from outside of this forum
          foone@digipres.club
          wrote last edited by
          #88

          so I can switch themes but it's not getting my browser theme, hmmm

          foone@digipres.clubF 1 Reply Last reply
          0
          • foone@digipres.clubF foone@digipres.club

            so I can switch themes but it's not getting my browser theme, hmmm

            foone@digipres.clubF This user is from outside of this forum
            foone@digipres.clubF This user is from outside of this forum
            foone@digipres.club
            wrote last edited by
            #89

            oh it was but my manual color theme setting was overriding it.

            foone@digipres.clubF 1 Reply Last reply
            0
            • foone@digipres.clubF foone@digipres.club

              oh it was but my manual color theme setting was overriding it.

              foone@digipres.clubF This user is from outside of this forum
              foone@digipres.clubF This user is from outside of this forum
              foone@digipres.club
              wrote last edited by
              #90

              okay it's working.

              react is a tiring framework.
              everytime I need to make a tiny change, I end up getting mad for an hour and then I'm tired of programming for the day.

              gloriouscow@oldbytes.spaceG foone@digipres.clubF infosec812@foojay.socialI j-g00da@donotsta.reJ twipped@twipped.socialT 5 Replies Last reply
              0
              • foone@digipres.clubF foone@digipres.club

                okay it's working.

                react is a tiring framework.
                everytime I need to make a tiny change, I end up getting mad for an hour and then I'm tired of programming for the day.

                gloriouscow@oldbytes.spaceG This user is from outside of this forum
                gloriouscow@oldbytes.spaceG This user is from outside of this forum
                gloriouscow@oldbytes.space
                wrote last edited by
                #91

                @foone

                are you sure you're using React?

                because if you're getting mad you might actually be using Angrular

                foone@digipres.clubF 1 Reply Last reply
                0
                • foone@digipres.clubF foone@digipres.club

                  okay it's working.

                  react is a tiring framework.
                  everytime I need to make a tiny change, I end up getting mad for an hour and then I'm tired of programming for the day.

                  foone@digipres.clubF This user is from outside of this forum
                  foone@digipres.clubF This user is from outside of this forum
                  foone@digipres.club
                  wrote last edited by
                  #92

                  theme switching is a bit ugly but it works. I'm intentionally leaving it as crap for anti-perfectionism reasons

                  jannem@fosstodon.orgJ foone@digipres.clubF 2 Replies Last reply
                  1
                  0
                  • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

                    @foone

                    are you sure you're using React?

                    because if you're getting mad you might actually be using Angrular

                    foone@digipres.clubF This user is from outside of this forum
                    foone@digipres.clubF This user is from outside of this forum
                    foone@digipres.club
                    wrote last edited by
                    #93

                    @gloriouscow hah!

                    foone@digipres.clubF 1 Reply Last reply
                    0
                    • foone@digipres.clubF foone@digipres.club

                      @gloriouscow hah!

                      foone@digipres.clubF This user is from outside of this forum
                      foone@digipres.clubF This user is from outside of this forum
                      foone@digipres.club
                      wrote last edited by
                      #94

                      @gloriouscow I should make a video where I respond to my shitty app. you know, a react react video

                      gloriouscow@oldbytes.spaceG 1 Reply Last reply
                      0
                      • foone@digipres.clubF foone@digipres.club

                        theme switching is a bit ugly but it works. I'm intentionally leaving it as crap for anti-perfectionism reasons

                        jannem@fosstodon.orgJ This user is from outside of this forum
                        jannem@fosstodon.orgJ This user is from outside of this forum
                        jannem@fosstodon.org
                        wrote last edited by
                        #95

                        @foone
                        To keep with the whole "state of software in 2026" aesthetic, you should have the "dark mode" selection highlight be lighter than the background, and the "light mode" highlight be darker. Switch them around when you switch the mode.

                        1 Reply Last reply
                        0
                        • foone@digipres.clubF foone@digipres.club

                          @gloriouscow I should make a video where I respond to my shitty app. you know, a react react video

                          gloriouscow@oldbytes.spaceG This user is from outside of this forum
                          gloriouscow@oldbytes.spaceG This user is from outside of this forum
                          gloriouscow@oldbytes.space
                          wrote last edited by
                          #96

                          @foone when I'm struggling with CSS I just eat some beans

                          tailwind really does make it easier

                          foone@digipres.clubF 1 Reply Last reply
                          0
                          • foone@digipres.clubF foone@digipres.club

                            What obvious layout am I missing?

                            itgrrl@infosec.exchangeI This user is from outside of this forum
                            itgrrl@infosec.exchangeI This user is from outside of this forum
                            itgrrl@infosec.exchange
                            wrote last edited by
                            #97

                            @foone “a secret n th layout”… 💁‍♀️
                             
                             
                             
                            ETA: I gave up on trying to force the internal italicisation in markdown without a space, soz 🙃

                            1 Reply Last reply
                            0
                            • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

                              @foone when I'm struggling with CSS I just eat some beans

                              tailwind really does make it easier

                              foone@digipres.clubF This user is from outside of this forum
                              foone@digipres.clubF This user is from outside of this forum
                              foone@digipres.club
                              wrote last edited by
                              #98

                              @gloriouscow pffft

                              both a reaction to your joke and an impression of the sound it makes

                              gloriouscow@oldbytes.spaceG 1 Reply Last reply
                              0
                              • foone@digipres.clubF foone@digipres.club

                                @gloriouscow pffft

                                both a reaction to your joke and an impression of the sound it makes

                                gloriouscow@oldbytes.spaceG This user is from outside of this forum
                                gloriouscow@oldbytes.spaceG This user is from outside of this forum
                                gloriouscow@oldbytes.space
                                wrote last edited by
                                #99

                                @foone

                                This was many years ago but i once worked with this front end dev, guy named Jake. He was a kind of an odd fellow. Real lanky dude, didn't talk much. And normally he wasn't the greatest programmer, a bit sloppy.

                                gloriouscow@oldbytes.spaceG 1 Reply Last reply
                                0
                                • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

                                  @foone

                                  This was many years ago but i once worked with this front end dev, guy named Jake. He was a kind of an odd fellow. Real lanky dude, didn't talk much. And normally he wasn't the greatest programmer, a bit sloppy.

                                  gloriouscow@oldbytes.spaceG This user is from outside of this forum
                                  gloriouscow@oldbytes.spaceG This user is from outside of this forum
                                  gloriouscow@oldbytes.space
                                  wrote last edited by
                                  #100

                                  @foone

                                  But when we got into crunch mode and the hours grew longer and longer, it's like the pressure and stress unlocked his potential. Once, in the last 48 hours before a big deadline, I walked in on him surrounded by about a dozen empty cans of Monster, just furiously typing away, muttering to himself. I was about to say something when my boss shot me a stern look and shook his head.

                                  So I stood there. We all just stood there, watching.

                                  gloriouscow@oldbytes.spaceG 1 Reply Last reply
                                  0
                                  • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

                                    @foone

                                    But when we got into crunch mode and the hours grew longer and longer, it's like the pressure and stress unlocked his potential. Once, in the last 48 hours before a big deadline, I walked in on him surrounded by about a dozen empty cans of Monster, just furiously typing away, muttering to himself. I was about to say something when my boss shot me a stern look and shook his head.

                                    So I stood there. We all just stood there, watching.

                                    gloriouscow@oldbytes.spaceG This user is from outside of this forum
                                    gloriouscow@oldbytes.spaceG This user is from outside of this forum
                                    gloriouscow@oldbytes.space
                                    wrote last edited by
                                    #101

                                    @foone

                                    After a few more minutes of this he slammed down on the enter key, and stood up, stumbling to the corner where he had sleeping bag, and just collapsed on it.

                                    We crowded around his monitor. Unbelievably, he had cleared every outstanding bug.

                                    gloriouscow@oldbytes.spaceG 1 Reply Last reply
                                    0
                                    • gloriouscow@oldbytes.spaceG gloriouscow@oldbytes.space

                                      @foone

                                      After a few more minutes of this he slammed down on the enter key, and stood up, stumbling to the corner where he had sleeping bag, and just collapsed on it.

                                      We crowded around his monitor. Unbelievably, he had cleared every outstanding bug.

                                      gloriouscow@oldbytes.spaceG This user is from outside of this forum
                                      gloriouscow@oldbytes.spaceG This user is from outside of this forum
                                      gloriouscow@oldbytes.space
                                      wrote last edited by
                                      #102

                                      @foone

                                      I turned to my boss. "I don't get it. How does he get better the more exhausted he is?"

                                      My boss just looked at me like it was obvious. "Our front end code depends on Jake weary."

                                      ziggythehamster@ruby.socialZ foone@digipres.clubF tamber@taur.zoneT bytex64@awesome.gardenB phire@phire.placeP 8 Replies Last reply
                                      0
                                      • pyxaron@dragonchat.orgP pyxaron@dragonchat.org

                                        @foone It took me a moment to figure out that "Hydration error" is an actual thing in react and not just a way of saying it made you spill your drink.

                                        itgrrl@infosec.exchangeI This user is from outside of this forum
                                        itgrrl@infosec.exchangeI This user is from outside of this forum
                                        itgrrl@infosec.exchange
                                        wrote last edited by
                                        #103

                                        @Pyxaron @foone

                                        1 Reply Last reply
                                        0
                                        • foone@digipres.clubF foone@digipres.club

                                          okay it's working.

                                          react is a tiring framework.
                                          everytime I need to make a tiny change, I end up getting mad for an hour and then I'm tired of programming for the day.

                                          infosec812@foojay.socialI This user is from outside of this forum
                                          infosec812@foojay.socialI This user is from outside of this forum
                                          infosec812@foojay.social
                                          wrote last edited by
                                          #104

                                          @foone I still cannot understand how #React has gotten so prevalent. I hate using, but I am forced to use it in so many projects.

                                          carbsrule_en@polyglot.cityC 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups