Andrew Smith (@andrew_codes) header
Andrew Smith (@andrew_codes) profile picture

developer, speaker, OSS contributor; loves learning, teaching, and technology

Atlanta, GA
Joined March 2012
Photo by Andrew Smith (@andrew_codes)Photo by Andrew Smith (@andrew_codes)Photo by Andrew Smith (@andrew_codes)Photo by Andrew Smith (@andrew_codes)Photo by Andrew Smith (@andrew_codes)Photo by Andrew Smith (@andrew_codes)Photo by Andrew Smith (@andrew_codes)Photo by Andrew Smith (@andrew_codes)Photo by Andrew Smith (@andrew_codes)
Andrew Smith retweeted
Hey y'all! If you didn't catch it last week, I'm starting a free newsletter to teach devs about blogging, SEO, and writing content. The 7-day kick-off challenge starts THIS WEEKEND, so join in if you're looking for a kick in the keister 😁 Happy Friday! bloggingfordevs.com
24
78
13
426
Andrew Smith retweeted
Recoil, a new experimental state management library for React, was just open sourced at React Europe! recoiljs.org/
22
212
44
554
Andrew Smith retweeted
Important clarification: This isn't just for capturing clicks. You can capture other global events in React. Just append capture to the event name. onClickCapture onHoverCapture onBlurCapture onKeyDownCapture Full list of supported events: reactjs.org/docs/events.html…
TIL: To log all clicks in React, use onClickCapture. This simple component logs clicks in all child components. 😎 #reactjs
3
22
Andrew Smith retweeted
We’re excited to announce that @npmjs will be joining GitHub. Millions of JavaScript developers rely on npm, and we’re honored to support this community in a new way. Learn more at github.co/38RUgzF
102
2,512
748
5,608
Andrew Smith retweeted
Rome, an experimental JavaScript toolchain, is now open source and available for contributors 🥳🏛️📜 It's far from production ready and there's a lot missing. There's no npm release, docs, website, or integrations available. Come help us build them! github.com/facebookexperimen…
73
538
69
2,290
Inspired by how Facebook handles accessibility violations, I added a similar dev error to our React kit at work to help raise accessibility issues ⚠️
4
17
2
174
🚨 We're hiring across the board @Cypress_io. 👉 Check out the positions (#remote friendly) or send them to a friend that's looking. 🔗 cypress.io/jobs/ 🙏 RT for reach
 
#javascript #design #testing #jobs #hiring #techjobs
3
32
2
49
👉The developer experience (DX) of any tool is paramount to ensuring developers can be productive & effective. This is the core focus of the new DX engineering team at @Cypress_io, which is highly impactful to our mission. We're #hiring: link.cypress.io/dx-engineer #javascript
1
22
4
34
This is what I'm talking about. Tests like this give you real confidence. Do your tests help you be sure that you can safely upgrade a major dependency? If you have to change them all when you try, then the answer is no...
You know that your tests with react-testing-library don't test implementation details if you don't have to update them after moving from material-ui v3 to material-ui v4 😉 cc @kentcdodds
3
4
32
Today Facebook is open sourcing Hermes, a small and lightweight JavaScript engine optimized for running React Native on Android. We are currently publishing a new patch release for React Native which will contain Hermes as opt-in. github.com/facebook/hermes
25
674
64
1,690
Six months ago the community told us Hot Reloading was a major pain point. A better Fast Refresh mode is on it's way into React Native. It's resilient to errors (no need for full reloads after a typo) and supports function components with Hooks. Check it out:
51
487
60
2,114
This is an underappreciated aspect of react hooks. The nesting goes away! medium.com/styled-components… "All of your styled components are now fully hooks-powered, so there is significantly less component nesting and much cleaner React DevTools when using styled-components! 🎣"
9
32
2
188
📣 Introducing beautiful drag and drop for virtual lists 🥰 This is an example of react-window lists with 10,000 cards running at 60fps *Virtual list support will be landing in 12.0 of react-beautiful-dnd*
32
198
14
1,616
And maybe reconsider your definition of "not great code" Here's one definition I like: great code is code that's been running in production solving a problem/making money/making the world a better place. The longer it's been doing that, the better it is.
When reading not great code, assume the person who wrote it had the best intentions at the time
20
54
3
255
Andrew Smith retweeted
react-three-fiber github.com/drcmda/react-thre… comes along nicely, made some progress and through the power of hooks even things like effects can be managed and combined with the react eco system. The demo below: taboo-drain.surge.sh, codesandbox: codesandbox.io/s/y3j31r13zz
11
176
22
922
Andrew Smith retweeted
Don't want to commit? Open a draft PR. GitHub ❤️'s your WIP
137
2,469
566
7,279
Andrew Smith retweeted
We’ve just released React 16.8 with a stable version of Hooks. React Hooks let you use features like local state and lifecycle without writing a class. They’re fully backwards-compatible and you can start using them today. reactjs.org/blog/2019/02/06/…
102
2,370
306
5,413
Was confronted today with the importance of historical commits always being runnable,without syntactical errors,loading the data that you expect...and how those types of things enable tracking down sources of defects when performing a git bisect. Squash can be your friend.
1
2
2
I got VSCode Extensions working in the browser! The extensions completely run in the browser, using web workers instead of node processes. I'm now running 74 extensions, including: - CSS/HTML/TS Language Services - Emmet - VIM Mode - Bracket Colorizer So many new possibilities!
101
854
74
3,666