Swizec Teller - a geek with a hatswizec.com

    A bunch of cool things and neat little tips

    You know how some mornings you wake up, jump out of bed, and you're full of piss and vinegar and ready to take on the world?

    And other days you wake up and it's like you got hit by a cement truck rolling down the hill with no brakes?


    I was going to write today about either Constate and how much I love it for state management, especially with hooks, or about building webapps with Gatsby.

    But writing feels a lot like dragging barbed wire through my brain right now, so here's a 2-hour livecoding session instead. We worked on building a webapp with Gatsby and using Constate for state management.

    We continue tonight, and on Wednesday, you get an article about it. Deal?

    Tips & tricks I learned this week

    Let's try a new section for these wonderful Monday emails. Every day, I try to write 200 words about something new I learned. The cute little posts go on to live or die on Twitter and Facebook.

    But you're my favorite, so I should share them here as well.

    1. An important lesson about JavaScript testing. You really really have to make sure tests don't run in PhantomJS by accident.
    2. Getting help on Twitter can be absolutely fantastic
    3. Out-of-box Rails caching isn't actually that useful
    4. Novelty makes teaching and sharing easy. Preserving that enthusiasm as a grizzled veteran ain't easy
    5. README.md is great basic documentation, but you need more

    A few cool things

    Here's a bunch of cool things I discovered this week.

    • BestOfJS released their 2018 findings of most popular repositories. Interestingly Vue is the most popular frontend framework, but the most popular full-stack frameworks and site builders are all based on React. ๐Ÿค”
    • react-simple-img is like a better version of my react-lazyload-fadein component.
    • The Towards Data Science blog published a really cool study of SF Bay Area commuter regions. I need to find time to do more machine learning, it's amazing for things like this.
    • This Pew Research are you middle class calculator is a beautiful example of how even very simple data visuals can greatly enhance a story.
    • And here's one I've been meaning to share for a while ๐Ÿ‘‰ The Pudding is an amazing independent blog that publishes data-based stories with beautiful visualizations. Great for inspiration.

    Did you enjoy this article?

    Published on January 14th, 2019 in Personal

    Learned something new?
    Want to become an expert?

    Here's how it works ๐Ÿ‘‡

    Leave your email and I'll send you thoughtfully written emails every week about React, JavaScript, and your career. Lessons learned over 20 years in the industry working with companies ranging from tiny startups to Fortune5 behemoths.

    Join Swizec's Newsletter

    And get thoughtful letters ๐Ÿ’Œ on mindsets, tactics, and technical skills for your career. Real lessons from building production software. No bullshit.

    "Man, love your simple writing! Yours is the only newsletter I open and only blog that I give a fuck to read & scroll till the end. And wow always take away lessons with me. Inspiring! And very relatable. ๐Ÿ‘Œ"

    ~ Ashish Kumar

    Join over 14,000 engineers just like you already improving their careers with my letters, workshops, courses, and talks. โœŒ๏ธ

    Have a burning question that you think I can answer?ย I don't have all of the answers, but I have some! Hit me up on twitter or book a 30min ama for in-depth help.

    Ready to Stop copy pasting D3 examples and create data visualizations of your own? ย Learn how to build scalable dataviz components your whole team can understand with React for Data Visualization

    Curious about Serverless and the modern backend? Check out Serverless Handbook, modern backend for the frontend engineer.

    Ready to learn how it all fits together and build a modern webapp from scratch? Learn how to launch a webapp and make your first ๐Ÿ’ฐ on the side with ServerlessReact.Dev

    Want to brush up on your modern JavaScript syntax?ย Check out my interactive cheatsheet: es6cheatsheet.com

    By the way, just in case no one has told you it yet today: I love and appreciate you for who you areย โค๏ธ

    Created bySwizecwith โค๏ธ