Lucas Sutter (@LucasSutter1) header
Lucas Sutter (@LucasSutter1) profile picture

Minneapolis Web developer with a focus on React, and outdoors enthusiast!

Minneapolis
Joined August 2011
Photo by Lucas Sutter (@LucasSutter1)Photo by Lucas Sutter (@LucasSutter1)Photo by Lucas Sutter (@LucasSutter1)Photo by Lucas Sutter (@LucasSutter1)Photo by Lucas Sutter (@LucasSutter1)Photo by Lucas Sutter (@LucasSutter1)Photo by Lucas Sutter (@LucasSutter1)Photo by Lucas Sutter (@LucasSutter1)Photo by Lucas Sutter (@LucasSutter1)Photo by Lucas Sutter (@LucasSutter1)
I'm hiring for a junior developer role! Fully remote, US only. You'll be working directly with me. Please apply if you're interested, and share for visibility. careers.hireology.com/greatn…
48
106
6
407
71,775
Lucas Sutter retweeted
🔥 Weird one: Any HTML element can be visible and editable with display:block; and contenteditable - including style tags!
144
2,010
290
13,155
I used to think I was stupid. Then I read this tweet and found out I was smart. Re read the tweet and now I feel dumb again
The stupider you are, the smarter you think you are, and vice versa.
Can you put a display: contents on an html element with keys that you rendered by mapping through an array? #ReactJS #javascript
1
My example: I had to map through an array where each array item was an object with two other components in it. For each item in the array I put those components in a parent wrapper because I thought react would need to access the keys. I also had to manipulate their place in
1
A grid though so I ended up rendering one of the two sets of components twice. Could I have avoided this by using display contents on the wrapper with the keys so I could access both the components at “top level” for css grid but react would maybe still have access to keys?
Css subgrid would have easily saved me 3-4 hours of work today. Next time I do something similar it would go faster but still. Can’t wait for that to be widely available and used!
Searching for my first dev job, a unicorn job 🦄. Please share 😊 ✨Frontend dev, React with an eye for design ✨Part-time 2.5 days ✨Remote from the UK Links in my profile 🔗 Bonus: for a company that gives back or helps the community/earth/animals.
73
287
14
1,358
#TIL to always be VERY careful when creating folders and file names in a project because Git doesn't do a great job of tracking changes. I was running into some build problems and that was the issue! #javascript #ReactJS
1
My Swipe menu is finally working! #TIL the power of limiting the amount of if statements and areas of code that control behavior. Originally my code was full of conditionals. I separated out concerns and it is much simpler now! #javascript #ReactJS #CodeNewbie
2
I almost googled "logical operator for not greater than in javascript" but stopped myself just in time. :) How's your day going? Have been struggling through creating a swipable menu in React. What are you working on? #javascript #ReactJS #CodeNewbie
3
1
5
I am "animating" it by setting the top of the element inside of a setAnimation frame. It has been tricky keeping track of where everything is and am not trying to set it so it just goes up if clicked/tapped instead of needing to swipe. I know there are libraries that can do this
1
better and easier but the point of it was the learning!
#TIL I think I'm going to start doing a daily Today I Learned for my web development journey. I was going to talk about how if you try to access it a value in local Storage that doesn't exist it evaluates to a stringed "null" ....seems like only sometimes though? Anyone know why?
1
1
The long set of code in the useLocalStorage hook is returning the string, the two lines returns the null value.
Lucas Sutter retweeted
New @Scrimba video 🚀 The Beginner's Guide To Frontend Development in 2022 - Frontend vs backend - What frontend skills you need - And how long will it take? Please leave some 👍 and comments so the algorithm loves me back 💔 🔗 youtu.be/LfbPSJiqTPQ
5
7
1
25
Lucas Sutter retweeted
Does anyone know of a Twitter List of "coding teachers"? Or another type of list or directory outside of Twitter? If so, please share it 👇
2
2
16
Is there even any point to twitter on April 1st?
This last week I've received 3 rejections and was reached out to by a recruiter about a senior developer position. Now I really feel like a real developer :)
2
5