Bra podcast

Sveriges 100 mest populära podcasts

Syntax - Tasty Web Development Treats

Syntax - Tasty Web Development Treats

Full Stack Developers Wes Bos and Scott Tolinski dive deep into web development topics, explaining how they work and talking about their own experiences. They cover from JavaScript frameworks like React, to the latest advancements in CSS to simplifying web tooling.

Prenumerera

iTunes / Overcast / RSS

Webbplats

syntax.fm

Avsnitt

Hasty Treat - How To Publish A React Component To NPM

In this Hasty Treat, Scott and Wes talk about documentation libraries, starting and maintaining projects, how to publish React components to NPM, and more!

Sentry - Sponsor

If you want to know what?s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry.io and using the coupon code ?tastytreat?.

Show Notes

2:40 - Create React Library

6:55 - Documentation libraries

10:54 - What I?m building

13:13 - Linking library to projects

14:52 - Improvements and community thoughts

Links Rollup testing-library/react-testing-library transitive-bullshit/create-react-library leveluptuts/fresh How To Make a React Component Library - Making A React Library React Styleguidist Storybook Docz DocSource npm-link Yarn wesbos/dump wesbos/Waait Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-08-19
Länk till avsnitt

State In React

In this episode of Syntax, Scott and Wes talk about state in React: local state, global state, UI state, data state, caching, API data and more!

LogRocket - Sponsor

LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It?s an exception tracker, a session re-player and a performance monitor. Get 14 days free at logrocket.com/syntax.

Freshbooks - Sponsor

Get a 30 day free trial of Freshbooks at freshbooks.com/syntax and put SYNTAX in the ?How did you hear about us?? section.

Show Notes

3:38 - What is state?

4:58 - What kind of things are kept in state?

Data Temporary client side data From forms, button clicks, etc. Cached server data Data from API UI status AKA isModalOpen isToggled

12:48 - Global state vs. Local state

Ask yourself: does the data need to be accessed outside this component? If data does need to be accessed a little higher, you can simply move where that state lives. React calls this ?lifting state?. Do you count Apollo API calls as global state?

21:15 - Managing Local state

useState, setState Passing state & update functions down State machines

31:12 - Approaches to Global state

Redux

Complicated, hard to learn Very useful, organized and structured Actions, reducers and more Time traveling do to nature of store Immutability Tons of Redux based hooks libs

Mobx

Based on Observables An Observable is like a Stream and allows to pass zero or more events where the callback is called for each event. Often Observable is preferred over Promise because it provides the features of Promise and more.

Context

Functions just work and update global state. Downside is there are no fancy tools

Apollo

Apollo quires for data in global cache Apollo client for global UI state Not quite there, isn?t super elegant Links Thinkso Learn Node! Meteor Session xstate-react React Context Mobx easy-peasy hype.codes providerCompose.js Relay React Podcast ××× SIIIIICK ××× PIIIICKS ××× Scott: Command Line Heroes Wes: MASSDROP CTRL MECHANICAL KEYBOARD Shameless Plugs Scott: LevelUpTutorials - Gatsby Ecommerce ? Subscribe before price goes up! Wes: All Courses ? Use the coupon code ?Syntax? for $10 off! Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-08-14
Länk till avsnitt

Hasty Treat - Remote Internet

In this Hasty Treat, Scott and Wes talk about remote internet! Remote internet is an important because it opens up living options to developers as the industry moves toward more remote work.

Netlify Sponsor

Netlify is the best way to deploy and host a front-end website. All the features developers need right out of the box: Global CDN, Continuous Deployment, one click HTTPS and more. Hit up Netlify for more info.

Show Notes

4:31 - Remote internet options

7:55 - Modems and routers

10:52 - Antennas

13:47 - Boosters

14:54 - Plans, data and speeds

20:11 - Other things to think about

Links Deadmau5 house ZTE MF288 Netgear LB1120 Mofi Routers ZBT WE826T Rogers Ubiquiti Networks Tomato Firmware Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-08-12
Länk till avsnitt

Blogging

In this episode of Syntax, Scott and Wes talk about blogging ? both the specifics of content (how to make great content), as well as the mechanics of where and how to publish blog posts.

Sentry - Sponsor

If you want to know what?s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry.io and using the coupon code ?tastytreat?.

Sanity - Sponsor

Sanity.io is a real-time headless CMS with a fully customizable Content Studio built in React. Get a Sanity powered site up and running in minutes at sanity.io/create. Get an awesome supercharged free developer plan on sanity.io/syntax.

Show Notes

7:06 - What are some of the different platforms for publishing a blog?

23:41 - How to structure a blog post?

29:10 - How to direct traffic to a blog post?

38:51 - How do you make technical content in-depth and also succinct?

Links WordPress Gatsby Squarespace Netlify Tumblr Medium Hacker Noon Freedcamp Devtoo Smashing Magazine Net Magazine Gridsome GraphQL Vuepoint Next Nuxt Everything I wish I knew running a sole proprietorship business @peterc JavaScript Weekly Cooperpress Seth Godin Overreacted - Dan Abramov ××× SIIIIICK ××× PIIIICKS ××× Scott: Business Wars Wes: Spectacular Failures Shameless Plugs Scott: Level Up Tutorials Pro ? Subscribe before price goes up! Wes: All Courses ? Use the coupon code ?Syntax? for $10 off! Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-08-07
Länk till avsnitt

Hasty Treat - VSCode Love Part 3

It?s another VSCode episode! In this Hasty Treat, Scott and Wes talk all the things they love about VSCode ? things to learn, how to get around more quickly, using keyboard commands, being more efficient, using snippets and more!

Sentry - Sponsor

If you want to know what?s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry and using the coupon code ?tastytreat?.

Show Notes

2:14 - Things to learn

Jump by word, line Select by word Command Palette (cmd + shift + p) Move and copy lines - option up down or with shift Multi cursor Find and replace in files Use the Insiders build if you like updates every day

11:03 - Keyboard commands

Cmd + b to hide sidebar Cmd + shift + x

13:55 - Snippets

Snippet Generator Get to know defaults as well as tabs Mongo Snippets for Node-js Links VSCode Marketplace VSCode Insiders Build React Snippets JavaScript (ES6) Code Snippets HTML Snippets ES7 React/Redux/GraphQL/React-Native snippets Vue VSCode Snippets Atom Snippets Text Expander Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-08-05
Länk till avsnitt

Potluck - What is "State"? × Web Sockets × Remote Working × Firefox × Machines Taking Our Jobs × More!

It?s another Syntax potluck! In this episode, Scott and Wes answer your questions about remote work, AI agendas, motivation, fitness, the future of coding, and much more!

Sentry - Sponsor

If you want to know what?s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry and using the coupon code ?tastytreat?.

FreshBooks - Sponsor

Get a 30 day free trial of Freshbooks at freshbooks.com/syntax and put SYNTAX in the ?How did you hear about us?? section.

Show Notes

2:03 - Q: I hear you both talk about ?state? a lot in your podcasts. And while I understand a little about it, I never understand it in the context you both use it. Can you enlighten us?

6:52 - Q: I have an idea for a project that is suited for web sockets, push text/images/documents to a bunch of users in real time. I just learned about Firebase?s real-time database, and it looks like it would be pretty easy to implement my idea. What are your thoughts, pros/cons, of these two technologies?

10:42 - Q: How?s your fitness going?

12:15 - Q: Let?s say both of you gents were junior developers that had basic knowledge and skills in HTML, CSS and JavaScript but you had all the experience and knowledge of how to best master those skills and where the industry was heading. What would be the outline and focus of your road-map knowing what you do now?

17:22 - Q: Is it worth it to find a remote dev job at an early stage of your career? Considering the stuff I learn from my seniors and other devs on the team, I wonder if I will lose the opportunity to learn stuff from my team members?

19:49 - Q: How do I keep myself motivated in coding?

22:47 - Q: What?s y?all?s opinion on using some obscure (at least in my opinion) features of a language, such as Javascript bitwise operators, in a production app that dozens of other engineers maintain, and will continue to maintain long after you leave the company? It seems hard to read and immediately understand, which possibly makes it harder to debug/refactor in the future. Is it the responsibility of future devs to learn if they don?t know, or should you find a different way to code the solution in the first place?

26:00 - Q: Wes, I keep hearing you talk about working from your Dropbox. Do you sync up everything? Even things like your node module folders?

29:26 - Q: Have you talked about Firefox Developer Edition? It looks like it should be very useful, but I can?t quite make the transition.

32:58 - Q: Hey guys, what your opinion of CSS naming convention methodologies such as BEM?

35:04 - Q: I would like to refer to the question from ep 140 about fronted development possibly dying. I don?t feel satisfied with the answer, so maybe I could state the question differently: With the machine learning being developed rapidly in recent years, will the web change, causing reduction of front-end jobs? Maybe we will just be training smart algorithms and developing them instead? What do you think?

40:32 - Q: How do you deal with anxiety and fear during interviews that might hinder your ability to give the best impression of yourself or solve coding challenges?

Links FeathersJS Syntax 020: Fitness, Nutrition, and Losing Weight Syntax 084: Fitness for Developers Syntax 164: A Story About Kanye West and Learning to Code Syntax 140: Potluck - Media Queries × NPM Vulnerabilities × Fullstack JS vs JAMstack × Web VR/AR × Switching Jobs × More! FireBase Slack Dropbox Backblaze FireFox developer edition Brave Wix Squarespace How you can train an AI to convert your design mockups into HTML and CSS How AI And Machine Learning Are Transforming Front-End Development? ××× SIIIIICK ××× PIIIICKS ××× Scott: Wyze Sense Wes: Arthur on CBC kids Shameless Plugs Wes: CSS Grid Course Scott: Gatsby Ecommerce Course, and Dev Tools & Debugging Course Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-07-31
Länk till avsnitt

Hasty Treat - VSCode Treats Part 2

In this Hasty Treat, Scott and Wes talk about more of their favorite VSCode tasty treats - extensions, features, keyboard shortcuts and more!

Netlify - Sponsor

Netlify is the best way to deploy and host a front-end website. All the features developers need right out of the box: Global CDN, Continuous Deployment, one click HTTPS and more. Hit up Netlify for more info.

Show Notes

3:45 - Extensions

Git Blame Apollo GraphQL VS Code Spell Checker

9:36 - Features

Indent lines in explorer - Workbench > Tree Indent & Guides Breadcrumbs Commit all & visual git commands Change branch in lower left Rename Symbol Links Syntax 161: Hasty Treat - VSCode Extensions & Themes Alfred Playlist.js Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-07-29
Länk till avsnitt

A Story About Kanye West and Learning to Code

In this episode of Syntax, Scott and Wes talk with Harry Dry about the crazy story behind his Kanye West dating site, how he taught himself to code, and how to come up with cool side projects!

Sentry - Sponsor

If you want to know what?s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry and using the coupon code ?tastytreat?.

Sanity - Sponsor

Sanity.io is a real-time headless CMS with a fully customizable Content Studio built in React. Get a Sanity powered site up and running in minutes at sanity.io/create. Get an awesome supercharged free developer plan on sanity.io/syntax.

Show Notes

2:30 - How did you get into web dev and come up with the idea for the Kanye West dating website?

10:29 - Do you have a background in design?

13:05 - What?s your story?

15:28 - Do you wear yeezys?

36:26 - What made you decide to take this story and make a bit site out of it? What was the plan?

40:45 - How did you learn to code? How did you decide what to learn next?

45:30 - How do you push through hard problems?

48:50 - Any final advice to offer?

Links The Kanye Story TheNetNinja @rogerfederer Refactoring UI @GonzoVice Dang That?s Delicious Puck @joerogan Code Academy ChatKit by Pusher @grantimahara Mythbusters @elonmusk Marketing Examples @goodmarketinghq @harrydry ××× SIIIIICK ××× PIIIICKS ××× Scott: BattleBots Wes: Logitech MX Master 2S Wireless Mouse Harry: Twitter Demetricator Harry: CAMP LIFE: BIG JOHN FURY GIVES TOUR OF VINTAGE CARAVAN Shameless Plugs Wes: All Courses - Use the coupon code ?Syntax? for $10 off! Scott: Dev Tools and Debugging and Gatsby and E-commerce Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-07-24
Länk till avsnitt

Hasty Treat - Web Dev Resource Sick Picks

In this Hasty Treat, Scott and Wes talk about all of their favorite web dev resources ? a full episode of sick picks!

LogRocket - Sponsor

LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It?s an exception tracker, a session re-player and a performance monitor. Get 14 days free at LogRocket.

Show Notes

2:03 - Twitter Accounts

Scott: HeyDesigner Wes: Mathias Bynens

5:00 - Web Dev Resources

Scott: Scotch.io Wes: Webgems.io

7:37 - Design Resources

Scott: UI Movement Wes: Creative Market

11:36 - Desktop Tools

Scott: Pock Wes: MongoDB Compass

14:59 - YouTube

Scott:

JSConf stance

Wes:

Andrew Camarata dotconferences Links Studio3t Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-07-22
Länk till avsnitt

The Fundamentals ? JS

In this episode of Syntax, Scott and Wes talk about the fundamentals of JavaScript - the set of core skills you should know before branching off into other frameworks, libraries, etc.

LogRocket - Sponsor

LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It?s an exception tracker, a session re-player and a performance monitor. Get 14 days free at LogRocket.

FreshBooks - Sponsor

Get a 30 day free trial of FreshBooks at FreshBooks and put SYNTAX in the ?How did you hear about us?? section.

Show Notes

3:07 - Variables + Scoping

var/let/const Block scope Function scope Scope lookup

6:06 - Types

Objects Reference vs. copy

7:15 - Functions

Types of functions Anonymous vs. named Expressions Arrow functions Methods

9:33 - DOM

Selecting Updating Creating

15:07 - Prototypes + this

this Objects

20:16 - Events

Listening, callbacks dispatchEvent Bubbling

22:05 - Arrays

Push, pop, manipulate Spread, rest Map, filter, reduce Arrays vs. objects Mutation vs. immutable

26:25 - Flow control

Looping If Promises + Async + Await

29:47 - Security and accessibility

XSS and innerHTML

32:04 - Things you should know, but not necessarily master

Modules Closures Ajax requests

35:26 - Clean code

Clean Code Javascript Links Syntax 043: 20 Javascript Array and Object Methods to make you a better developer Syntax 141: Hasty Treat - Async + Await Error Handling Strategies Syntax 072: Accessibility ××× SIIIIICK ××× PIIIICKS ××× Scott: BaseCS Wes: Owlet Baby Monitor Shameless Plugs Scott?s new E-Commerce and Gatsby Course Wes? Courses - Use the coupon code ?Syntax? for $10 off! Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-07-17
Länk till avsnitt

Hasty Treat - VSCode Extensions & Themes

In this Hasty Treat, Scott and Wes talk about everything they love regarding VSCode: themes, fonts, extensions, techniques and more!

Netlify - Sponsor

Netlify is the best way to deploy and host a front-end website. All the features developers need right out of the box: Global CDN, Continuous Deployment, one click HTTPS and more. Hit up Netlify for more info.

Show Notes

3:18 - Theme

Cobalt 2 SyntWave '84

4:58 - Fonts

Dank Mono Operator Mono

7:12 - Five things we love

Wes:

Bracket Pair Colorizer Permute LinesUnique Lines Breadcrumbs Toggle Quotes Snapshot Tools

Scott:

Better Comments Import Cost Ctrl+Click Go To Definition Wrap Console Log Simple Git History Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-07-15
Länk till avsnitt

GraphQL and WordPress

In this episode of Syntax, Scott and Wes talk with Jason Bahl (author of WPGraphQL) about GraphQL, headless WordPress, frameworks in WordPress, React in WordPress, and more!

Sanity - Sponsor

Sanity.io is a real-time headless CMS with a fully customizable Content Studio built in React. Get a Sanity powered site up and running in minutes at sanity.io/create. Get an awesome supercharged free developer plan on sanity.io/syntax.

LogRocket - Sponsor

LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It?s an exception tracker, a session re-player and a performance monitor. Get 14 days free at LogRocket.

Show Notes

4:55 - Data in WordPress

6:26 - WPGraphQL

10:31 - What were your initial thoughts/first experiences with GraphQL?

16:58 - Does it use MySQL queries or wpQuery?

19:36 - How does authentication work?

24:38 - What does the WP local dev experience look like in 2019?

26:49 - What about deployment? How do you handle migrating data?

30:10 - How does WPGraphQL handle mutations?

32:46 - What are the preferred hosting methods for a headless WordPress setup?

36:44 - Do you see any push back about giving up much of what WordPress gives you out of the box?

41:23 - What are techniques for preventing all of WordPress from loading When you?re using it exclusively for the API?

43:40 - How does WPGraphQL support custom post types, taxonomies and fields, etc?

Links WPGraphQL Kyle Mathews GraphQL Gatsby WordPress Meteor Apollo GraphQL GraphiQL WPGraphiQL WAMP Flywheel Local by Flywheel PhpStorm Lando Laravel React Netlify Jason Schuller Leeflets Press75 Advanced Custom Fields WPGraphQL Tax Query WPGraphQL Meta Query WPGraphQL for Advanced Custom Fields Jason?s Twitter WPGraphQL Twitter ××× SIIIIICK ××× PIIIICKS ××× Scott: Figma Wes: CalDigit TS3 Plus Thunderbolt 3 Dock Jason: Local by Flywheel Shameless Plugs Scott?s new course - Dev Tools & Debugging Wes - All Courses - Use the coupon code ?Syntax? for $10 off! Jason - WPGraphQL Jason - Gatsby Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-07-10
Länk till avsnitt

Hasty Treat - Front End Security

In this Hasty Treat, Scott and Wes talk about front end security and what to do in order to avoid hacking.

Sentry - Sponsor

If you want to know what?s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry and using the coupon code ?tastytreat?.

Show Notes

2:53 - SSL

Encrypted transfer of information Digitally binds a cryptographic key to an organization?s details Web-cam, geolocation, etc.

6:15 - innerHTML

React?s dangerouslySetInnerHTML Name intentionally chosen to be frightening Allows you to write HTML to the DOM Data should be sanitized before used in prop Removes unexpected data from string Used to prevent cross site scripting attacks

10:25 - Don?t trust the client

The client can be manipulated to send any info to your server E-commerce example ? don?t take the price total from the front end to make the charge, DB call and calculate on the server Validate form inputs via HTML 5 field validation/check data types on the server Don?t allow your users to send an object when it should just be a string Get this for free with GraphQL via types

13:41 - PCI Compliance

Protect card holder data SSL or Secure iFrame Encrypt transmission of card data Restrict access to card holder data Restrict physical access Front of front-end

16:44 - Tips

Don?t put a name on sensitive fields if you are using JS HTTP only cookies Local Storage tokens XSS Links React GraphQL Express Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-07-08
Länk till avsnitt

The Fundamentals: HTML + CSS

In this episode of Syntax, Scott and Wes talk about the ?fundamentals? of web development and what you need to know - HTML, CSS foundations and more!

Sentry - Sponsor

If you want to know what?s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry and using the coupon code ?tastytreat?.

Freshbooks - Sponsor

Get a 30 day free trial of Freshbooks at Freshbooks and put SYNTAX in the ?How did you hear about us?? section.

Show Notes

1:54 - Learning fundamentals vs framework specialists

Learning vs getting a job Abstractions work well until they don?t and you need to debug them

HTML

7:58 - Semantic markup

9:15 - Accessibility basics

9:57 - Attributes

CSS

16:13 - Specificity

22:42 - Selectors

24:52 - Layouts

27:53 - Box model

32:50 - Positioning

36:42 - Forms and inputs

40:45 - Block vs inline vs inline-block

43:09 - Sizing units

44:40 - Typography

47:53 - Media Queries

Links Interviewing candidates with a lack of fundamentals - Tweet Jean-Philippe Sirois Tweet Syntax 72: Accessibility Syntax 107: Hasty Treat - CSS Units ××× SIIIIICK ××× PIIIICKS ××× Scott: I Think You Should Leave with Tim Robinson Wes: Forearm Forklift Lifting and Moving Straps Shameless Plugs Scott?s new course - ?Debugging and Dev Tools? Wes? courses - Use the coupon code ?Syntax? for $10 off! Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-07-03
Länk till avsnitt

Hasty Treat - What is a Headless CMS?

In this Hasty Treat, Scott and Wes talk about headless CMSs - why to use them, how they work, pros and cons, examples and more!

Sentry - Sponsor

If you want to know what?s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry and using the coupon code ?tastytreat?.

Show Notes

2:11 - What is a headless CMS?

It?s a system or CMS that has no front-end (aka head) Allows you to use front-end specific tech (static generators/front-end frameworks) instead of the back-end to generate pages

4:37 - Some examples

Can be used with any type of website that can consume an API WordPress API + Gatsby Hosted Service + React App

7:06 - Why?

Separation of concerns - your data is in a single spot, and can be pulled into any app, website, marketing micro site, etc. Keeps ergonomics of WordPress or $CMSHERE, while developers get to use what they like Optimizes for performance with static builds Hide the implementation details and back-end from view

10:19 - Live vs statically-generated website

Syntax 120 - Gatsby vs Next

10:55 - How?

Connects to API via normal fetch calls/GraphQL/whatever you use Needs to host your back-end either as a service or on a host Needs to host your front-end either on the same server as your back-end or on something specialized like Netlify Links WordPress Sanity.io React Syntax 120 - Gatsby vs Next Netlify GraphQL Cobalt Gatsby.js Drupal Next.js Nginx Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-07-01
Länk till avsnitt

Potluck - Career Switch at 33 × Cover Letters × Kids × Learning Quickly × More!

It?s another potluck! In this episode, Scott and Wes answer your questions about career changes, preprocessors, moving, ?the gap?, hip hop and more!

Sentry - Sponsor

If you want to know what?s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry and using the coupon code ?tastytreat?.

Sanity - Sponsor

Sanity.io is a real-time headless CMS with a fully customizable Content Studio built in React. Get a Sanity powered site up and running in minutes at sanity.io/create. Get an awesome supercharged free developer plan on Sanity.

Show Notes

1:54 - Q: I am 33 with a wife and two young daughters, and am trying to change careers. My job pays $80,000 a year, but I hate it. My wife is ok with me doing university, but she wants me to stay at the job I don?t like. Should I stand my ground? Any tips on achieving my goals to make me happy, but also keep my family happy?

10:10 - Q: What is your advice to very junior/junior devs in writing cover letters for jobs? I wonder what to say without sounding canned and fake.

14:35 - Q: Scott, what was the stack you were using at Ford?

17:09 - Q: Other than reading the docs, how do you guys go about learning/trying out new technologies? Do you rebuild similar applications or pick out individual features you think are ?sIcK??

22:32 - Q: Is it always necessary to use setState in react when storing data (for example, a form input) even if you don?t intend on re-rendering the page, or can you get away without using state?

25:04 - Q: Development has a stereotype for being a young person?s game. As someone who started their career out of university, I often wonder how long I can sling divs for? Do you think you could make it to retirement age or do you think the game will change out from under you?

30:34 - Q: Scott, you?ve mentioned you love hip hop. Would you be willing to share any playlists of your all-time favorite hip hop artists?

32:08 - Q: What are your thoughts on HTML pre-processors? If you use one, which one(s) do you prefer and why?

36:04 - Q: What advice would you have for someone considering to ?level up? their career by moving from a city with few tech jobs to a city with more opportunity for tech jobs? What are some of the biggest things to consider when moving possibly cross-country to further a career?

42:11 - Q: What are your recommendations in terms of resources for first time dads (and moms) like books, podcasts, etc. and generally good co-parenting advice for working professionals?

46:45 - Q: Loved the show with Travis. Had a question about ?the gap?. Similar to design ambitions/taste surpassing current skill, when did you feel like your code had ?grown up? and that you could actually DO what you envisioned with Javascript?

Links Syntax 044: How to Learn New Things Quickly Scott?s Spotify playlist - ?Rap Music To Code To = Level Up Tutorials? Scott?s Spotify playlist - ?Golden Era? Scott?s music picks Apache - Apache Ain?t Shit MF DOOM - MM?Food Kendrick Lamar - To Pimp A Butterfly GZA - Liquid Swords Gang Starr - Daily Operation Slick Rick - The Ruler?s Back Redman & Method Man - Blackout Q-Tip - The Renaissance Enter The Wu-Tang (36 Chambers)[Expanded Edition] - Wu-Tang Clan Pete Rock on Spotify Preemo on Spotify Codeland Conference Syntax 142: Travis Neilson on Skills Gap, Design, Focus and Working at Google ××× SIIIIICK ××× PIIIICKS ××× Scott: Oculus Quest All-in-one VR Gaming Headset Wes: Marpac Rhom Portable White Noise Sound Machine Shameless Plugs Scott?s new course - ?Dev Tools and Debugging? Wes? Courses - Use the coupon code ?Syntax? for $10 off! Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-06-26
Länk till avsnitt

Hasty Treat - Making Yourself Uncomfortable To Grow

In this Hasty Treat, Scott and Wes talk about pushing yourself in uncomfortable areas to grow as a programmer, be a better developer, and become more efficient in general.

Netlify - Sponsor

Netlify is the best way to deploy and host a front-end website. All the features developers need right out of the box: Global CDN, Continuous Deployment, one click HTTPS and more. Hit up Netlify for more info.

Show Notes

3:50 - CCS Preprocessor parable

6:09 - Efficiency

10:40 - When to learn new systems

13:03 - Common pain points

14:42 - Pushing yourself to foster growth

Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-06-24
Länk till avsnitt

SVGs with Sara Soueidan

In this episode of Syntax, Wes is joined by Sara Soueidan, a freelance front-end UI developer and trainer. While Scott is taking a break to spend time with his new baby girl, Wes and Sara dive into all things SVG!

Sentry - Sponsor

If you want to know what?s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry and using the coupon code ?tastytreat?.

Sanity - Sponsor

Sanity.io is a real-time headless CMS with a fully customizable Content Studio built in React. Get a Sanity powered site up and running in minutes at sanity.io/create. Get an awesome supercharged free developer plan on Sanity.

Show Notes

6:05 - What are SVGs?

It?s an image you can edit

16:17 - Icon fonts

Better tools Fails in certain areas SVG sprite icons Grunticon

24:24 - SVG files / Build tools

SVGO / SVGOMG

31:50 - Where to find SVGs

Noun project Exporting from Sketch/Illustrator/Figma Freepik Iconmoon

33:48 - What is the viewbox?

40:39 - Animating SVG

43:41 - Accessibility & text with SVG

45:44 - Graphing with SVG

D3.js

47:58 - Filters

Links Font Awesome Grunticon Grunt gulp.js React Vue.js Sketch Illustrator Figma imagemin gulp-imagemin Gatsby.js gatsby-plugin-sharp jakearchibald/svgomg Noun Project Freepik Icomoon GreenSock Snap.svg SVG Animations: From Common UX Implementations to Complex Responsive Animation By Sarah Drasner Codrops D3.js ××× SIIIIICK ××× PIIIICKS ××× Sara: Netlify Wes: Wise Contact Sensors Shameless Plugs Sara?s Website & Workshop Dates Wes? Courses - Use the coupon code ?Syntax? for $10 off! Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets Sara?s Twitter
2019-06-19
Länk till avsnitt

Hasty Treat - New Intl Methods Are Straight Fire

In this Hasty Treat, Scott and Wes talk about internationalization - how to deal with different languages, different currencies, and more!

Log Rocket - Sponsor

LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It?s an exception tracker, a session re-player and a performance monitor. Get 14 days free at logrocket.com/syntax.

Show Notes

5:48 - Intl.NumberFormat

9:17 - Intl.ListFormat

12:17 - Intl.DateTimeFormat / Intl.RelativeTimeFormat

14:27 - Intl.PluralRules

Links Standard built-in objects Language Subtag Registry Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-06-17
Länk till avsnitt

Debugging Tools + Tips

In this episode of Syntax, Scott and Wes talk about debugging ? tools, techniques, and the mindset needed to debug a problem and get through it as quickly as possible.

Netlify - Sponsor

Netlify is the best way to deploy and host a front-end website. All the features developers need right out of the box: Global CDN, Continuous Deployment, one click HTTPS and more. Hit up netlify.com/syntaxfor more info.

Freshbooks - Sponsor

Get a 30 day free trial of Freshbooks at Freshbooks.com and put SYNTAX in the ?How did you hear about us?? section.

Show Notes

1:41 - Tools

CLDD - console.log driven development How To Pause Your Code With Breakpoints In Chrome DevTools Other types of break points XHR DOM break on attribute change DOM break on children Conditional break Break on exception Break on event listener

21:49 - Network requests

Doesn?t take place in your site/dom, so might not always have all info in your console, debugger Network tab in dev tools shows you all requests going in and out of your app Filters by type, sees length in request Sees headers, responses and more Failed requests will be red

26:50 - Debugging mindset

Check different browsers Check the docs/examples Isolate when possible ?What has changed?? Get minimal working code Rubber Duck Debug Step back and re-think Links Debugging Visual Studio Code (Node) - James Q Quick CodePen Spencer Carli?s Youtube ××× SIIIIICK ××× PIIIICKS ××× Wes: DeWALT Lawn Mower Scott: Cold Brew Coffee Maker Shameless Plugs Wes? Courses - Use the coupon code ?Syntax? for $10 off! Level 2 React Native with GraphQL Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-06-12
Länk till avsnitt

Hasty Treat - Std Lib in JavaScript

In this Hasty Treat, Scott and Wes discuss the Javascript standard library proposal ? what it is, how it could influence dev, and what they?d like to see.

Sentry - Sponsor

If you want to know what?s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry.io and using the coupon code ?tastytreat?.

Show Notes

1:38 - What is a Standard Lib?

Still experimental Built-in modules don?t have to be downloaded because they ship with the browser Not exposing built-in modules globally has a lot of advantages: They won?t add any overhead to starting up a new JavaScript runtime context (e.g. a new tab, worker, or service worker) They won?t consume any memory or CPU unless they?re actually imported They don?t run the risk of naming collisions with other variables defined in your code

6:47 - Key Value Storage is the first one:

KV Storage: the Web?s First Built-in Module

8:36 - What do we want to see?

Deep clone Basically all of Lodash util.isDeepScrictEqual Async json.parse() / json.stringify UUID URL Lib for building and parsing URLs Missing Array Methods Most of underscore JS

15:53 - International

Currency Formatting Lists DateTimeFormat RelativeTimeFormat Links JavaScript Standard Library Proposal Add remaining Underscore / Lodash features JavaScript standard library contents Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-06-10
Länk till avsnitt

Gatsby Themes

In this episode of Syntax, Scott and Wes talk with Jason Lengstorf from the Gatsby team about Gatsby themes, and the future of Gatsby in general.

LogRocket - Sponsor

LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It?s an exception tracker, a session re-player and a performance monitor. Get 14 days free at LogRocket.

Freshbooks - Sponsor

Get a 30 day free trial of Freshbooks at Freshbook and put SYNTAX in the ?How did you hear about us?? section.

Show Notes

2:18 - Jason Lengstorf - What do you do?

9:37 - Gatsby refresher

Gatsby is statically generated gatsby-config.js file determines which plugins you use gatsby-node.js allows us to hook into Gatsby at different points and do things like source content and dynamically create pages gatsby-browser.js contains code that should hook into browser events

13:54 - Gatsby themes

Layouts in Gatsby are done the same way in React - simply create a component with children How is this different than a plugin? Is it a collection of plugins? How do you share themes? Can they include functionality (plugins?) Like Markdown rendering? What about a theme that needs a UI once activated? What about custom fields for Gatsby? Do you foresee a marketplace like WordPress themes? Are there some themes already out there? What will come for themes soon?

34:07 - Questions about Gatsby

What do you think about WordPress? E-commerce? How do you make money? Suggested way of doing dynamic things What is the future of Gatsby? Links Gatsby Jason Lengstorf Livestream Progressive Disclosure of Complexity Gatsby Themes Sanity Gatsby + Sanity.io Snipcart Axios Algolia Netlify Airtable Hope in Source - Henry Zhiu ××× SIIIIICK ××× PIIIICKS ××× Jason: Kamado Joe Grill Scott: Zojirushi Hybrid Water Boiler and Warmer Wes: Waterproof Digital Instant Read Meat Thermometer Shameless Plugs Jason?s Weekly Live stream Scott?s Courses Wes? Courses - Use the coupon code ?Syntax? for $10 off! Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-06-05
Länk till avsnitt

Hasty Treat - Workshops

In this Hasty Treat, Scott and Wes talk about how to give a killer workshop, as well as benefits and best practices!

Sentry - Sponsor

If you want to know what?s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry and using the coupon code ?tastytreat?.

Show Notes

3:00 - Types of workshops

Public Private

4:29 - Choosing a topic

Create original content Create custom content for companies

5:55 - Building content

Choose seven to eight different little things ES6 Progressive web apps Build a single application throughout the day, introducing a new feature or two at a time and then implementing it into your own application Gatsby website React Beer application React Notes Application Process: Build the app Rewind back to starter files Build it again while writing notes Follow your own notes to see if it makes sense

13:25 - General information

How long should it be? Fixed price vs split cost How many people?

16:46 - Other Tips:

Break away from your app and show other apps using - gives better context Stop often and ask if anyone needs help Give large breaks Give challenges for those who need more to do Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-06-03
Länk till avsnitt

Potluck - CSS × Angular × Dev job preparation × Svelte × File organization × Gear × More!

It?s another Potluck! In this episode, Scott and Wes answer your questions about CSS, Angular, Svelte, dev job preparation and more!

Sentry - Sponsor

If you want to know what?s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry and using the coupon code ?tastytreat?.

Sanity - Sponsor

Sanity.io is a real-time headless CMS with a fully customizable Content Studio built in React. Get a Sanity powered site up and running in minutes at Sanity. Get an awesome supercharged free developer plan on Sanity.

Show Notes

3:23 - Q: How big is too big for state? I have an object of around 1000 items which will be used in a search box on the frontend of my site, but the list of items won?t be updated very often. What is the most efficient way to store these items and deliver them to the browser? Would you use state, a JSON object, a MongoDB document or some other way I haven?t thought of?

7:17 - Q: How much do I need to know before I start applying for dev jobs?

9:26 - Q: Do you folks have any opinions on Skeleton loaders, and any thoughts on how best to implement them? At my day job we?ve recently implemented skeleton loaders in a way that inherits the parent styles. Would love to know if there?s any best practices for this or ways we can improve our setup.

13:01 - Q: Do you think we still need to use CSS resets like normalize and sanitizer?

14:56 - Q: Scott, can you tell the story of how you landed an interview for a job in Japan? I am moving to Japan next year and wondering how that opportunity arose for you.

20:04 - Q: Do you guys have an opinion on angular good or bad? Or is it that you?re more comfortable and have used React and Vue more often, so they?re largely at the center of any framework discussions?

22:54 - Q: Could you talk about naming and structuring files/folders in your applications? How do you name components and folders? Do you follow some sort of path of how to structure files in a web app?

29:01 - Q: Do you think that Node is almost too powerful to handle some of the simpler tasks (a site that just needs a contact form for instance), or am I just missing some very simple configuration? It seems like other languages, such as PHP, might be better suited for some of these simple tasks and Node is really just meant for larger scale application? I guess what my question really boils down to is, for a freelancer, I understand that I need to have my hands in a lot of different tech stacks, but should I really dive in on PHP (or something else) to handle some of these simpler features a client might need?

33:24 - Q: What do you guys think about Svelte? Before everything goes WASM will Svelte be the future of web programming?

37:24 - Q: What smart phones and laptops do you use for work? (specific model and why)

42:38 - Q: Should I apply for other jobs even if my contract might get renewed? Should I feel loyal to a company?

××× SIIIIICK ××× PIIIICKS ××× Scott: DaVinci Resolve 16 Wes: Affinity Photo Shameless Plugs Wes: Wes? Courses ? use coupon code ?syntax? at checkout and get and extra $10 off. Scott: Scott?s Crouses Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-05-29
Länk till avsnitt

Hasty Treat - Knowing Your Weaknesses

In this Hasty Treat, Scott and Wes talk about how to identify and work on your weaknesses.

Logrocket - Sponsor

LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It?s an exception tracker, a session re-player and a performance monitor. Get 14 days free at LogRocket.

Show Notes

2:45 - Why care about weaknesses?

If we avoid the things we?re afraid of or bad at we?ll always grow in lopsided ways

7:32 - As a developer

What skills / languages are you not good at or afraid of?

14:06 - As an employee

Communication Company and personal goals Efficiency Compatibility

16:54 - As a human

How you treat people Sharing your time What you?re neglecting Your living space Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-05-27
Länk till avsnitt

CSS the ??? Cool Parts

In this episode Wes and Scott talk about the cool parts of CSS! From filters to variables, here are some cool (and amazing) things you can do with CSS in 2019.

Sentry - Sponsor

If you want to know what?s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry.io and using the coupon code ?tastytreat?.

Sanity - Sponsor

Sanity.io is a real-time headless CMS with a fully customizable Content Studio built in React. Get a Sanity powered site up and running in minutes at sanity.io/create. Get an awesome supercharged free developer plan on sanity.io/syntax.

Show Notes

2:28 - Clip path

6:35 - Filters

16:24 - Background mix blend mode

21:47 - Border images

25:46 - Multiple background images

27:47 - Multiple background gradients

28:25 - Radial gradients

29:06 - Multiple box-shadows

34:30 - HEX + Alpha

40:41 - Viewport units

42:17 - Calc

44:32 - CSS variables

47:44 - Text decoration

Links Can I use Clippy - CSS clip generator CSS Filters Tweet: Using mix-blend-mode:multiply CSS blend mode generator Lea Verou Codepen - Scott?s digital text animations Steve Schoger Mother-effing HSL Diana Adrianne ××× SIIIIICK ××× PIIIICKS ××× Scott: Solar string lights Wes: Digital Calipers Shameless Plugs Wes: Wes? Courses ? use coupon code ?syntax? at checkout and get and extra $10 off. Scott: Animating React Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-05-22
Länk till avsnitt

Hasty Treat - AMA - Our Wives, Careers Outside Tech, and Favorites

In this Hasty Treat, Scott and Wes are back with another AMA. This time they talk about their spouses, careers outside of tech, lots of favorites (movies, colors, clothes), and more!

Clubhouse - Sponsor

Clubhouse is the first project management software that brings everyone together so that teams can focus on what matters: creating products that customers love. Clubhouse provides a perfect balance of simplicity and structure for better cross-functional collaboration. Check out https://clubhouse.io/syntaxpodcast and get your first two months free.

Show Notes

2:58 - What do your wives do?

6:40 - If you had to choose a different career, what would you do?

If you started learning another (programming) language today, what would it be?

11:50 - Favorites (e.g. colors, movies, brands, etc.)

18:08 - Who inspires you?

26:19 - What?s your ratio of client work, learning new tech, and teaching via your courses, talks or Syntax.fm? You guys seem awfully busy, and it?s making me feel kinda lazy.

Links Pigeonhole Live Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-05-20
Länk till avsnitt

Side Hustles with Courtland Allen from Indie Hackers

In this episode of Syntax, Scott and Wes talk all about side hustles with special guest Courtland Allen, from Indie Hackers! They talk about the story behind Indie Hackers, how to start your own side hustle, where to find ideas, listener questions, and more.

LogRocket - Sponsor

LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It?s an exception tracker, a session re-player and a performance monitor. Get 14 days free at LogRocket.

Freshbooks - Sponsor

Get a 30 day free trial of Freshbooks at Freshbooks and put SYNTAX in the ?How did you hear about us?? section.

Show Notes

1:05 - What?s the back story behind Indie Hackers?

5:30 - What is a side hustle?

11:21 - How do you validate your idea?

13:15 - What are some different types of side hustles?

31:55 - What about people who don?t like marketing?

33:57 - What are some important pieces of side hustles?

39:04 - How do you sell a business?

42:40 - Listener Questions:

Q: How do you stop the side hustle from affecting your main job in regards to things like overtime, sleep and commitment? Q: Should you frame yourself as a one-man-band or as a company? Q: Have you heard stories of people living in cheap places, making bank? Are there any white whales you have been chasing to interview? Links Carrd Balsamiq Mockups Flickity Nomad List Evan You Evan You Patreon Park.io Making $125,000 a Month as a Solo Founder with Mike Carson of Park.io Patreon Drift Stripe ××× SIIIIICK ××× PIIIICKS ××× Courtland: Post-it Notes and Poor Charlie?s Almanack: The Wit and Wisdom of Charles T. Munger Scott: Akimbo Wes: Elastic Wallet Shameless Plugs Courtland: IndieHackers Podcast Scott: Animating React Wes: CSS Grid Course Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-05-15
Länk till avsnitt

Hasty Treat - The SHADOW DOM

In this Hasty Treat, Scott and Wes talk about Shadow Doms - what they are, the individual pieces involved with them, why they?re important, and how to get started using them.

Sentry - Sponsor

If you want to know what?s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry and using the coupon code ?tastytreat?.

Show Notes

2:41

What is the shadow DOM?

4:25

What elements are shadow DOM?

5:47

Styling shadow DOM elements

8:54

Creating your own

9:22

Frameworks Links Using shadow DOM Shadow DOM v1: Self-Contained Web Components Polymer Svelte 3 Wildhoney - ReactShadow Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-05-13
Länk till avsnitt

Travis Neilson on Skills Gap, Design, Focus and Working at Google

In this episode of Syntax, Scott and Wes talk to Travis Neilson about his career at Google, the challenges he faced, how to choose projects tips for devs wanting to get better at design, and more.

Stackbit - Sponsor

Build modern JAMStack websites in minutes. Stackbit lets you combine any theme, site generator and CMS without complicated integrations. Join the beta today by visiting stackbit.com/syntaxfm.

Sanity - Sponsor

Sanity.io is a real-time headless CMS with a fully customizable Content Studio built in React. Get up and running by typing npm i -g @sanity/cli && sanity init in your command line. Get an awesome supercharged free developer plan on sanity.io/syntax.

Show Notes

2:43 - Career path

On ambitions and where it all started

23:15 - Being all in

On how to choose your next project

33:31 - Working at Google

On the day-to-day at Google, the challenges of a big team, and constraints

43:23 - Design tips for developers

Advice for devs who want to get better at design but are struggling Thoughts on CSS frameworks The one thing devs often get wrong about design Links Travis Neilson?s Website Travis Neilson?s Podcasts Helvetica ? Gary Hustwit How one typeface took over movie posters Just My Type: A Book About Fonts Work-Life Balance is a Joke ××× SIIIIICK ××× PIIIICKS ××× Travis: Cults and Extreme Belief and Google Method Podcast Scott: Sony Noise Canceling Headphones WH1000XM3 Wes: Little People Big Dreams Book Series Shameless Plugs Wes? Courses & Wes? Youtube Animating React How to Use Adobe XD Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-05-08
Länk till avsnitt

Hasty Treat - Async + Await Error Handling Strategies

In this Hasty Treat, Scott and Wes discuss different error handling strategies.

Sentry - Sponsor

If you want to know what?s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry.io and using the coupon code ?tastytreat?.

Show Notes

2:07 - Try / Catch

This can be done at call time or inside the function

4:10 - Higher Order Function

Makes a function that returns a new function which in turn calls your original function (but with a .catch chained on)

7:46 - Handle the error when you call it

Use async/await but chain a .catch onto the end

9:03 - Node.js Unhandled Rejection Event

process.on('unhandledRejectionEvent', callback)

9:40 - What do do with those errors

Send to error tracking service Possible to give the user a reference number Display good error text to user Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-05-06
Länk till avsnitt

Potluck - Media Queries × NPM Vulnerabilities × Fullstack JS vs JAMstack × Web VR/AR × Switching Jobs × More!

It?s another potluck episode in which Wes and Scott answer your questions! This month - Media Queries, NPM Vulnerabilities, Web VR and AR, Fullstack JS vs JAMstack for freelancers, switching jobs, and more!

Sentry - Sponsor

If you want to know what?s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry.io and using the coupon code ?tastytreat?.

Freshbooks - Sponsor

Get a 30 day free trial of Freshbooks at freshbooks.com/syntax and put SYNTAX in the ?How did you hear about us?? section.

Show Notes

2:46

Q: I recently started a static site so I want as much of the site as possible to change layout with just CSS for responsive design. I am comfortable with media queries but find often times the design is very different between sizes. It is easy to tame the complexity of repeated data for the different component views keeping everything in sync but is it good practice to put two completely different component level views in a single HTML file? Does the repeated data in the static HTML have any effect on SEO?

7:08

Q: How should a mid developer know when its time to leave the current company? Is tech stack (e.g frameworkless) a decent reason even though he/she is happy at the place, but feels like they are not growing enough?

11:19

Q: Should I worry about the critical vulnerabilities when installing an NPM package?

15:06

Q: I?ve had the idea for styling one site two different ways (professional/artistic) and giving visitors a button to toggle between the two. Too gimmicky? Secondary: how did you pick your brand colors?

20:19

Q: Any SICK TIPS on career change? I?m a full-time employee with two kids and a lovely wife, who wants a fulfilling career. I throw as much time in as I can to study, but I feel like it isn?t enough to apply for jobs.

20:49

Q: Within the next two years, how well do you think WebVR and WebXR technologies would fit within mainstream web development (think A-Frame, SparkAR, React 360 in normal websites and applications)?

30:39

Q: Should I learn Fullstack JS or JAMstack for freelancing?

35:34

Q: Is front-end development dying?

37:30

Q: How do you deal with CSS-in-JS when you have one-off stuff, or coupled components/selectors like a [CSS] grid container and a grid child (think grid-area)? CSS-in-JS feels very verbose for this use case.

42:07

Q: Scott always talks about Meteor. I thinks its really cool too. What?s the future of it and why didn?t it take off? It seems to have slowed down. They seem to have moved on to other projects like GraphQL stuff. Links Influx WebVR WebXR Google Maps will use a core Waze feature to improve public transit ××× SIIIIICK ××× PIIIICKS ××× Scott: The Making of a Manager Wes: DeWalt Oscillating Tool Shameless Plugs Wes: Wes? Courses ? use coupon code ?syntax? at checkout and get and extra $10 off. Scott: Animating React Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-05-01
Länk till avsnitt

Hasty Treat - AMA - Money x Investments x Online Presence x More!

In this special Hasty Treat, Scott and Wes answer your questions about money, investments, online presence and more!

LogRocket - Sponsor

LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It?s an exception tracker, a session re-player and a performance monitor. Get 14 days free at https://logrocket.com/syntax.

Show Notes

2:33 - Besides coding/teaching, do you have any another source of income (stocks, bonds, crypto, etc.)?

9:03 - How do I build my online presence?

13:05 - What?s your favorite tasty treat (as in actual food)?

16:33 - Wes, lets talk about the + symbol that you use to start the prompt for Cobalt2 ? whats up with that?

18:41 - How do you get out of a rut?

Links Canadian Couch Potato Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-04-29
Länk till avsnitt

What?s New in Web Development

In this episode of Syntax, Scott and Wes talk about what?s new in web development: new promise static methods, new CSS functions, PWAs and more!

Sentry - Sponsor

If you want to know what?s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry.io and using the coupon code ?tastytreat?.

Clubhouse - Sponsor

Clubhouse is the first project management software that brings everyone together so that teams can focus on what matters: creating products that customers love. Clubhouse provides a perfect balance of simplicity and structure for better cross-functional collaboration. Check out https://clubhouse.io/syntaxpodcast and get your first two months free.

Show Notes

5:38 - New Promise static methods

Promise.all Promise.race() Promise.allSettled() Promise.any()

10:16 - Lazy loading images

Addy Osmani?s Lazy-Loading blog post

14:25 CSS Houdini aka JS in CSS

CSS Houdini Experiments

20:32 - Subgrid

Syntax 109: Hasty Treat - CSS Grid Level 2 aka Subgrid Subgrid is coming to Firefox - Jen Simmons Bugzilla

24:31 - Native modules in browser

type="module" dynamic import()

27:08 - Node Native Modules update

package.json will now have a type entry where NodeJS - Plan For New Modules Implementation New ESM Implementation

29:17 - PWA install app and Google PlayStore

Already shipped in Chrome Java API that communicates through services with Chrome Trusted Web Activity aka TWA All content in TWAs must comply with Play store policy including policies for payments in-app purchases and other digital goods Already existing TWAs include Twitter Lite, Google Maps Go, Instagram Lite Passing the PWA Criteria Performance Score with a minimum of 80/100, tested with Lighthouse All current Google Play Store rules

35:49 - CSS Scroll Snap

In many browsers already scroll-padding

38:17 - Aspect Ratio Unit

Designing An Aspect Ratio Unit For CSS

39:32 - CSS nesting

Disallows cross-domain cookies unless on the same domain/subdomain Links Gatsby Promise.allSettled() Promise.any() Apollo CodePen UC Browser Parcel Node.js Myles Borins? Twitter Twitter Lite Google Maps Go Instagram Lite Lighthouse Opera Can I Use - modules Apple?s ITP ××× SIIIIICK ××× PIIIICKS ××× Scott: Finding Drago Wes: The Punk Rock MBA Shameless Plugs Scott?s Gridsome Course Wes? Courses Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-04-24
Länk till avsnitt

Hasty Treat - CSS Frameworks

In this Hasty Treat, Scott and Wes talk about CSS frameworks - what they are, why they?re important, and when (and when not) to use them.

Stackbit - Sponsor

Build modern JAMStack websites in minutes. Stackbit lets you combine any theme, site generator and CMS without complicated integrations. Join the beta today by visiting stackbit.com/syntaxfm.

Show Notes

2:52 - What is a CSS framework?

Pre-written CSS that takes over the basic styling of your app Can include just utilities or lots of styles (minimal to overboard) Twitter Bootstrap and Zurb Foundation were the pioneers Follow different CSS styles from ?functional CSS? to utility-first to BEM

7:33 - Functional (aka Utility) based

Tachyons Tailwind

9:59 - Preprocessor based

Bootstrap

11:33 - Styled Components based

Rebass Styled Systems Facepaint

15:50 - Why use one?

Makes styling FAST Makes hard things easy Some, like Bootstrap, have themes Keeps your own CSS minimal and organized Built on an established system Lots of people use the same CSS

19:22 - Why not use one?

CSS class hell Stops you from learning how CSS works Size (not all have this problem) Brotli, Purify CSS You will be overriding a ton of it You like exclusively writing the code you need and nothing else Links Jamstack Gatsby Hugo Jekyll Bootstrap Foundation Tailwind CSS Tachyons Styled System REBASS Facepaint Brotli Purify CSS Cloudflare Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-04-22
Länk till avsnitt

9 Ways to Stay Sane While Working Remotely

In this episode of Syntax, Scott and Wes talk about working remotely ? problems, challenges, and how to keep yourself sane, productive and efficient.

LogRocket - Sponsor

LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It?s an exception tracker, a session re-player and a performance monitor. Get 14 days free at https://logrocket.com/syntax.

Freshbooks - Sponsor

Get a 30 day free trial of Freshbooks at freshbooks.com/syntax and put SYNTAX in the ?How did you hear about us?? section.

Show Notes

4:34 - Find your spots

Coffee shops Cafes Library

7:40 - Deal with Distractions

Log out of Twitter/Facebook/Instagram Delete Apps ? only use the browser Put phone and computer on ?do not disturb? Focus App

11:33 - Prioritize your tasks

Drifting is possible when it isn?t clear what you need to do If you don?t have someone telling you what to do, it can be hard to get started Todo lists

17:15 - Make time to be social

Go to meet ups Chat in Slack or Discord rooms Talk to people at work spaces

21:48 - Get fresh air

Go for a walk Open the windows

24:03 - Get moving

Hit the gym Do push-ups in your office

28:09 - Have a separate work space

Designated office Don?t work from the couch with the TV on Clean your damn office ?

38:16 - Act like you are going to work

Dress well Fix up, look sharp - get yourself ready to go

40:44 - Take Breaks (not too many, not too long)

Some people like the Pomodoro Technique Take a lunch break away from your computer Don?t make a break longer than 15 minutes or so Links Focus Discord Todoist Getting Things Done Eat That Frog The Life-Changing Magic of Tidying Up: The Japanese Art of Decluttering and Organizing ××× SIIIIICK ××× PIIIICKS ××× Scott: Doug DeMuro?s YouTube Channel Wes: Yeti Rambler 14 oz. Shameless Plugs Scott?s Gridsome Course Wes? YouTube Channel Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-04-17
Länk till avsnitt

Hasty Treat - Cranky Developers

In this Hasty Treat, Scott and Wes talk about cranky developers ? those devs who never seem happy about anything, always mad about tech choices, and constantly writing off any new tech as simply a ?fad? or unnecessary.

Sponsor

If you want to know what?s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry.io and using the coupon code ?tastytreat?.

Show Notes

2:20 - How to deal with cranky devs

Many experienced developers prefer older, stable technology for a reason. They have been through it before.

7:14 - Questions to ask when considering new tech:

Is it better for the product? Is it better for the users? Is it better for the business? Is it better for the developer?

16:39 - How to convince them:

Proof of concept - show them it?s better.

18:28 - Things to acknowledge:

There are risks in changing technologies. There are costs - training, tooling, hosting.

21:20 - Some people are not interested in improving themselves

They got the job they want and are short sighted about the future. You can appeal to management about making progressive choices. If management isn?t interested, you should look for a new job. Links Sass Backbone Babel Gulp Babel ES6 React for Beginners Missive Swix React Flux Glamorous PayPal GraphCool Facebook Netflix MJML Juice Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-04-15
Länk till avsnitt

Syntax Live React Edition

It?s another live episode of Syntax in which Wes and Scott do Hook?d on Hooks, Who?s Snackin? on React, Stump?d, Unpopular Opinions, Q & Eh, and more!

Sentry - Sponsor

If you want to know what?s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry.io and using the coupon code ?tastytreat?.

The Armoury - Sponsor

The Armoury is a men?s clothing and accessories retailer that provides some of the highest quality clothing you can buy. Designed for those of you who want the highest quality clothing that feels great and will last forever. Buy less, buy better. Follow them on Instagram @thearmourynyc and check out their website TheArmoury.com.

Show Notes

6:54 - Who?s Snackin? On React

Guess which of these websites have their homepage partially or fully built in React?

EltonJohn.com or ArianaGrande.com? Ferrari.com or Lamborghini.com? Starbucks.com or Dunkindonuts.com? WayFair.com or Ikea.com? Walgreens.com or Cvs.com?

10:55 - Hook?d on Hooks

Wes:

useSocket useStaticQuery (gatsby) useKeyPress

Scott

useLocalStorage useClickOutside useMeasure useGesture

17:47 - This, That, Both, or Neither?

Gutenborg: A WordPress GUI plugin for creating react-based gutenberg blocks, or a 90?s budget TV show about Cyborgs who read? Nashorn: A Java based JavaScript engine developed by Oracle, or a popular rock climbing spot in Portland? Easy Peasy: A React state library, or children?s spoon set? Use Boxmen: A hooks library that gets box model dimension, or a puzzle-based strategy game for children? Toggs: A lightweight styleable toggle component, or rain resistant outdoor gear? Landwind: A set of React components for using the Tailwinds CSS Library, or a Chinese Knock-off Land Rover SUV? Freeflow: A redux-like state management library built on state, context and hooks, or a California-based hot tub company? Ubergrippen: A popular rock climbing spot in Denver, or a client-side video stabilization framework built on the filereader API?

26:22 - Tag Team Coding React

Fetch Data from the data jokes API Show a loading indicator Have a button to fetch a new joke

36:24 - Stump?d

What is a react PureComponent for? Why might you use a callback with setState? How would you reverse an array without mutating the original array? Can you explain what a ?downtown job? is? When would you use useReducer? What makes useLayoutEffect different from useEffect? What propType would you use for an object that contains a number and a string

43:11 - Unpopular Opinions. Overrated, Underrated?

Our own unpopular opinions Scott: React devs like to make things harder than they need to be. Dan Abramov Ryan Florence Sebastian Markbage Jared Palmer Sean Thomas Larkin Sergey Ryzhov Sophie Alpert Parker McMullin Vue does it better _____

52:45 - Q + EH with Wes and Scott

What where the first apps you worked on? What React problem stumped you for the longest time? What?s your most expensive mistake? Do we need classes in Javascript? How do you explain what you do to your mom? How do you explain React? What made you start wanting to code? What?s the hackiest thing you?ve ever done? Where do you see yourselves in 10 years? Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-04-10
Länk till avsnitt

Hasty Treat - Tips For A Good Portfolio

In this Hasty Treat, Scott and Wes talk about portfolios - best practices, organization, and how to use what people are looking for to stand out in the right ways.

Sentry - Sponsor

If you want to know what?s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry.io and using the coupon code ?tastytreat?.

Show Notes

3:21 - Include screenshots (or don?t). Often clients can ruin a site after you hand it off.

6:19 - Include list of technologies used

7:25 - Include list of problems solved

7:48 - Use company logos (if allowed)

9:13 - Show mockups on modern laptops/phones

10:04 - Show your work (mockups, sketches, layouts, etc.)

11:39 - Keep it updated

12:10 - You don?t need a million examples ? max out somewhere around five. People just need a few quick examples of the type of stuff you work on.

14:11 - What about using side projects and tutorials?

16:28 - Dribbble, Github and Instagram are all valid portfolio options as well ? often that is the first place people look. Don?t ignore these.

A hot stuff profile on any of these will make you more hireable. Make sure it?s creative and looks nice. Links Wordpress Google Ford Air Canada Dribbble Github Instagram Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-04-08
Länk till avsnitt

Potluck - Interview Qs × Headless CMS × React Hooks × Resume Design × Redux vs Context × More!

It?s another potluck episode in which Wes and Scott answer your questions! This month - interview questions, headless CMSs, resume design, redux vs context, and more!

Sentry - Sponsor

If you want to know what?s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry.io and using the coupon code ?tastytreat?.

Freshbooks - Sponsor

Get a 30 day free trial of Freshbooks at freshbooks.com/syntax and put SYNTAX in the ?How did you hear about us?? section.

Show Notes

2:21

Q: Are there any tutorials you would recommend to learn more computer science related knowledge (algorithms, closures, etc.)?

5:12

Q: Do you have any suggestions for picking a headless CMS?

8:55

Q: Do you have any advice for someone in a customer service background seeking a more flexible job with remote work opportunities? Resources? Is this a realistic goal or a good way to approach my job search?

15:13

Q: How much importance would you place in the design of a resume? Is it worth the cost?

21:09

Q: With the new React Hooks and Context API, do we still need Redux?

25:37

Q: If either of you could change anything about your personal tech stack, what would it be and why?

29:07

Q: Do you prefer to use React?s defaultProps or plain JS default function parameters to give your component?s props some default values?

30:44

Q: You guys chat CMS sometimes - why no love for Umbraco?

35:53

Q: I?m ready for a new challenge, how do I break this to my employer?

38:16

Q: What?s the difference between const add = (a, b) => { return a + b } and function add (a, b) { return a + b }? Links Udacity Coursera Contentful Ghost Prismic Strapi HeadlessCMS Sanity WordPress Drupal ××× SIIIIICK ××× PIIIICKS ××× Scott: J.A. Henckels International 10-piece Capri Granitium Nonstick Cookware Set Wes: IRWIN VISE-GRIP 2078300 Self-Adjusting Wire Stripper, 8" Shameless Plugs Scott?s Gridsome Series Wes? YouTube Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-04-03
Länk till avsnitt

Hasty Treat - Bike Shedding

In this Hasty Treat, Scott and Wes talk about bike shedding - issues that are hotly debated, but may not matter that much in the long run.

LogRocket - Sponsor

LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It?s an exception tracker, a session re-player and a performance monitor. Get 14 days free at https://logrocket.com/syntax.

Show Notes

3:03 - What is Bike Shedding?

Technical disputes over minor, marginal issues conducted while more serious ones are being overlooked. The implied image is of people arguing over what color to paint the bike shed while the house is not finished.

4:39 - Tabs vs spaces

Two spaces

5:50 - Single vs double quotes

Single in JS, double in HTML

7:05 - Semicolons or not

Semicolons

9:01 - Grouping/ordering CSS properties

Wes: Format Scott: Alphabetical

12:35 - var vs let vs const

Scott: const for life ? let when needed Wes: const by default ? change to let when needed

14:24 - Default vs named exports

Use both Mix-n-match

15:58 - Should designers code?

If interested, sure

17:58 - Which front-end framework

Whichever one best suits your needs

19:30 - Vim/Emacs vs Atom/VS Code/Sublime

VS Code

21:53 - Small perf wins

Micro optimization often aren?t needed

25:14 - Browser support

If you?re required to support it, then support it

25:47 - Block formatting

Function block Else on a new line vs else after block

29:07 - Trailing comma

Links Law of Triviality React Vue.js AngularJS Ember.js Vim Emacs Atom Sublime VS Code Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-04-01
Länk till avsnitt

The VueJS Show (Scott teaches Wes)

In this episode Wes and Scott talk about VueJS - what it is, how it compares to other frontend frameworks, and how to get the most out of it.

Sentry - Sponsor

If you want to know what?s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry.io and using the coupon code ?tastytreat?.

Clubhouse - Sponsor

Clubhouse is the first project management software that brings everyone together so that teams can focus on what matters: creating products that customers love. Clubhouse provides a perfect balance of simplicity and structure for better cross-functional collaboration. Check out https://clubhouse.io/syntax and get your first two months free.

Show Notes

2:22 - What?s the deal with VueJS?

Combines ideas from Angular 1, React and Blaze Ease of Angular 1 App structure of React

8:02 - Components

Template syntax is similar to handlebars

aka {{stuff}}

v-bind:property

v-bind:property or simply :bind allows you to dynamically bind a value to a property

Props

Props must be declared before they can be used in a template.

Script tag

Where imports happen Where props are defined, computed properties, action events and lifecycle

Actions

v-on:click="doSomething" @click="doSomething" These will run a doSomething event defined in your script export via methods

Lifecycle

How does data fetching work?

CSS

Can be scoped to file by adding  to your property

Global Registration

You can register a global component and not have to import it

36:38 - Features

CLI

Easy to use when creating new projects

Animations

Baked in to core A transition component wraps your code and just have a v-if on the element you are transitioning There is also more intense javascript options via v-on

Routing

1st party router vue-router with support for 3rd party routers

Global State

Vuex

45:57 - Ecosystem

Nuxt ? AKA Next.js for Vue Gridsome ? AKA Gatsby for Vue Native? Links Angular React Blaze What Hooks Mean for Vue Nuxt.js Next.js Gridsome Gatsy NativeScript Vue Native ××× SIIIIICK ××× PIIIICKS ××× Wes: Modified Power Wheels Scott: Ezy Jeans by Uniqlo Shameless Plugs Wes: Node.js and React Scraper Tutorial Scott: Static Vue with Gridsome Coming Soon! Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-03-27
Länk till avsnitt

Hasty Treat - Why Use a Frontend Framework at All?

In this Hasty Treat, Scott and Wes talk about frontend frameworks ? what they are, when you need one, how to organize your code for maximum efficiency, and more!

Stackbit - Sponsor

Build modern JAMStack websites in minutes. Stackbit lets you combine any theme, site generator and CMS without complicated integrations. Join the beta today by visiting stackbit.com/syntaxfm.

Show Notes

3:08 - What is a frontend framework?

JavaScript based Controls applications such as: Routing Rendering Data Fetching Examples: React Angular VueJS Ember Backbone Svelte

5:54 - When to use a frontend framework

The Link between your JavaScript data and the DOM (your HTML) isn?t live The use of frameworks makes re-updating the DOM (after the initial variable update) easy You need an opinionated way to handle complexity Example: You add an item to a shopping cart, send the event to the backend, and update both the number of items in the cart and the ?Add to cart? button Event Handlers - binding and un-binding Your client wants a fast, modern experience Seamless routing and page transitions Fast prototyping Access to battle-tested libraries Security Perf

14:24 - When not to use a frontend framework

When using CMS like WordPress and Drupal A medium amount of JavaScript is needed - Vanilla JS will work fine Modals Slideshows Form submits Static pages, no JS functionality Updating an existing project

17:20 - Why can?t I just use jQuery?

Vanilla JS contains all of jQuery?s available DOM APIs Frameworks provide structure Organizes code for big projects Links Syntax 039: Is jQuery Dead? Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-03-25
Länk till avsnitt

How To Find Freelance Clients

In this episode Wes and Scott talk about how to find freelance clients ? tangible things you can do to position yourself and set yourself up for success.

Stackbit - Sponsor

Build modern JAMStack websites in minutes. Stackbit lets you combine any theme, site generator and CMS without complicated integrations. Join the beta today by visiting stackbit.com/syntaxfm.

LogRocket - Sponsor

LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It?s an exception tracker, a session replayer and a performance monitor. Get 14 days free at https://logrocket.com/syntax.

Show Notes

1:27 - Question from Andreas Trattner: I am a backend developer with 4+ years experience working on large systems in Europe and am considering moving toward freelancing/contracting. However, I find it difficult to discover quality opportunities. Any tips you can share on how to strategically get projects?

There isn?t a secret trove of work, and there?s no one way to do it.

4:50 - Relationships

Trust and relationships rule all. The best paying gigs are never advertised. Who should you know? Other developers How? Meetups, Conferences, Twitter, Slack rooms, Friends Tip: Volunteering is a great way to get in to conferences, plus you often get to know people Tip: If you are friends of a friend who gets a lot of work, as for a introduction Designers and marketers You usually work together How? Twitter, Email, Dribbble, Instagram Project managers How? Cold emails, tweets Office managers Life blood of the office - they know everyone Often move into other roles How? Meetups, previous employees Entrepreneurs Lots of connections, often switching gears How? Demo camps, Facebook marketing groups Venture capitalists Have dozens of companies and tons of connections How? Demo camps, introductions, cold email

19:08 - Display of expertise

It certainly is an option to just be really freaking good at what you do Speaking at conferences and local meetups Working on open source Helping in chat rooms Posting guides Maintaining docs Offering reviews / Make things public Performance - Harry Roberts from CSS Wizardry Accessibility - HeydonWorks WordPress speed React checking Start a podcast Blogging Volunteering

9:22 - Visibility

You need to let everyone know what you do. Your mom?s uncle?s friend?s cousin on Facebook might casually ask for recommendations. Instagram / Photos. Showing people what you are doing and what you are working on will make a mental note in their head that you do that type of work. Facebook / Twitter / Instagram Blogging This makes the ?vetting? process much easier Tweeting YouTube videos Slack channels you are involved in

38:02 - Other tactics

SEO - Locality (Toronto designer), specific technologies (Redux contractor) Craigslist This one sucks, but it can lead to decent work occasionally You need to be more vigilant in screening, most clients will suck Cold asks - Just ask people what works well ?Hey, I?m looking to book a few contracts starting June 2019. I love working with ______ and you can see my work here? Put a phone number on your website. Seriously. UpWork Won?t make as much money here because of competition Local business listings Find online and offline biz listings Old fashioned ? putting your card on bulletin boards

47:29 - Maintaining Relationships

Check in every few months with non-biz related contact But also just straight up ask for work Christmas / Thank-you gifts Links Canadian Couch Potato ××× SIIIIICK ××× PIIIICKS ××× Scott: Google Drive Scanner Wes: Endy Mattress Shameless Plugs Scott?s React Hooks For Everyone Wes? All Courses Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-03-20
Länk till avsnitt

Hasty Treat - React Suspense

In this Hasty Treat, Scott and Wes talk about React Suspense ? what it is, how it works, support and more!

Sentry - Sponsor

If you want to know what?s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry.io and using the coupon code ?tastytreat?.

Show Notes

Not live yet - it may/will change. Be warned!

3:59 - The problem we have with React right now

API calls Image loading Code splitting

7:16 - What is React Suspense?

First we convert our async data fetching functions into resources Resources can then be read inside render - above the return Resources can be read from cache Resources can be preloaded into a cache if you anticipate needing them Resources reads are blocking for that function - you can?t return JSX until the resource is read In your component that fetches data, there is no need to maintain a loading state Then, anywhere higher up in that tree, you can introduce a suspense component The suspense component can detect if any of it?s children are currently loading data If they are, we can then choose to show a loader via the fallback prop We can also choose to show nothing via the maxDelay prop ? this is helpful for fast connections that shouldn?t see the spinner for a short split-second

15:20 - Support

React.lazy and suspense for code splitting is already here The React.lazy function lets you render a dynamic import as a regular component Loadable Components is recommended if you need splitting with SSR Data Resources is not here yet Links React 16.x Roadmap Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-03-18
Länk till avsnitt

Bootcamps vs School vs Self-learning

In this episode Wes and Scott talk about developer education ? what to look for, what to avoid, and how to be a life-long learner with good problem solving skills.

Sanity.io - Sponsor

Sanity.io is a real-time headless CMS with a fully customizable Content Studio built in React. Get up and running by typing npm i -g @sanity/cli && sanity init in your command line. Get an awesome supercharged free developer plan on sanity.io/syntax.

The Armoury - Sponsor

The Armoury is a men?s clothing and accessories retailer that provides some of the highest quality clothing you can buy. Designed for those of you who want the highest quality clothing that feels great and will last forever. Buy less, buy better. Follow them on Instagram @thearmourynyc and check out their website TheArmoury.com.

Show Notes

3:59 - Our experiences

Scott:

Went to college - Go Blue! Worked odd jobs while self teaching Was mentored and taught more while working at my first job Self directed since then Started teaching via LUT in 2012

Wes:

Went to university for Business Tech - entirely self-taught Led and created part-time HTML + CSS program at HackerYou Led and created first bootcamp at HackerYou Led and created first JS part-time at HackerYou Been offered jobs at colleges + universities

10:02 - School - $$$

Pros

The best thing about school was unrestricted free time to find out what I enjoyed, which lead me to coding Co-ops can help you find what you like and what you don?t like Life skills that involve you being on your own and figuring things out more You are exposed to interesting people and ideas CS Degree work can open more career doors Professional networking Many companies wont hire you without some sort of bachelor?s degree (this might change)

Cons

Not everyone has the time or money to devote two to five years to school ? especially to something they might not end up enjoying Potentially outdated staff and course material Wes was often asked to lead a video editing course, print design course and a web development course Lot?s of distractions

23:10 - Bootcamp - $$

Pros

Very fast, lots of info, but can be a bit overwhelming You can get up-to-speed extremely quickly Focused on hire-ability and job-ready skills Focused information Personality is really the deciding factor here - lots of people do well, and some don?t

Cons

Hit or miss ? quality of bootcamps aren?t vetted, so do your research Talk to someone who took it, find out who the instructors are You absolutely must continue learning after the bootcamp The bootcamp is just a push and you are expected to continue learning once you are done Not great for individuals that can?t handle the pace You have to quit your job

37:09 - Self-Taught - $

Pros

Self-directed people will prevail here Can be drip-fed while earning money at another job Can be supplemented by a job (e.g. you are front-end and want to go full stack) Can get real world experience as a freelancer while you evolve

Cons

Not for everyone Can be difficult to self-motivate Hard to get help - sometimes you can be stuck for hours on a two-second fix Potentially discouraging You might go down the wrong path without guidance on what you should learn

47:11 - Part Time Programs - $

Pros

Fantastic way to get up to speed with a new tech Goes at a good pace - twice a week usually Offered on weekends and evenings where you can maintain a regular job Very low risk - you can try it out

Cons

Might not be as fast as you like it Quality is all over the map

49:55 - Mentored Self Learning - $

Pros

Best to do with a mentor on the job Mentor can help steer what to learn in your free time Good feedback and a place to ask lots of questions

Cons

Can?t be done without someone willing to mentor you Only as good as your mentor

52:55 - What approach would we take?

Bootcamp > then immediately supplement with courses Links Notion ××× SIIIIICK ××× PIIIICKS ××× Scott: Digital Minimalism by Cal Newport Wes: American Kingpin Shameless Plugs Scott?s React Hooks For Everyone Wes? All Courses Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-03-13
Länk till avsnitt

Hasty Treat - Communication Skillz

In this Hasty Treat, Scott and Wes talk about communication ? why it?s important, how to improve, building good habits, tools and more!

Sentry - Sponsor

If you want to know what?s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry.io and using the coupon code ?tastytreat?.

Show Notes

3:59 - Why it?s important

Projects can live or die by the team?s communication Project timelines can be disrupted leading to big problems with scheduling

5:53 - How to improve communication skills

PRACTICE Pay attention to what works Have a system ? standups, weekly meetings, etc. Over communicating can be annoying but effective Realize that people can?t read your mind, so having your intentions and timelines public and known is important

9:12 - Building good habits

Need to practice Build systems to support new habits

11:04 - Tools we use to communicate

Email / Standups Notion GitHub Issues Slack Missive Links Syntax 075: Hasty Treat - Feedback and Criticism Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-03-11
Länk till avsnitt

Potluck - Are classes dead? × Tutorials vs Real Life × CRA vs Next × Scraping × More

It?s another potluck episode in which Wes and Scott answer your questions! This month - are classes dead?, tutorials vs real life, the smart home, developers and mental health, and more!

Freshbooks - Sponsor

Get a 30 day free trial of Freshbooks at freshbooks.com/syntax and put SYNTAX in the ?How did you hear about us?? section.

Sentry - Sponsor

If you want to know what?s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry.io and using the coupon code ?tastytreat?.

Show Notes

1:30

Q: What advice would you give to someone wanting to get involved with the open source community, coming from closed-source full-time work? How do people make time to code on the side and balance a life/family?

5:38

Q: In Syntax 060, you mentioned making your life easier as a motivation. How do you get your data from sites that may not have an API? Web scraping? Any tools you?d recommend?

11:34

Q: Do you think React aims toward a world with functional components only or will class based components always play a role?

17:10

Q: Just feedback on the recent Smart Home podcast?I really enjoyed it! I have about 48 (color) HUE lights throughout my home, and use an IFTTT applet for my Ring PRO doorbell, so when someone rings the doorbell, all the lights in the home blink (e.g. so I can see when an Amazon Prime package arrives, or know someone is at the front door, etc?while I?m working and wearing my Bose QC35II?s, and of course listening to your podcast)! I?m a huge fan of the podcast since early last summer (I rarely comment, but you guys are great)!

21:37

Q: What would you do in the event your clients sends you a ?thank you? card along with cash that is MUCH lower than you are preparing to invoice them? Would you remove it from the invoice, ask them what they would prefer, etc? I?m stuck in an awkward situation and it doesn?t even cover the hosting costs.

24:39

Q: I?ve heard a lot of good things about Next.js, but what exactly is it? How does it compare to just using the create-react-app? Is it worth it to migrate a small side project that I have to Next.js?

28:26

Q: I take tutorials all the time for web dev. I have taken many of both of your courses. Thank you, they are great! I am completely self taught and have zero computer science education whatsoever. As well as your courses and other tutorials have taught me various languages and libraries, they do not prepare me for real work interviews or jobs. No offense. How do I make the jump from tutorials to real life?

34:39

Q: Do you have exercises to warm up your brain before you start coding? I always find it a bit difficult to jump straight into a project. I would never start working out before warming up and I feel that?s also true about development!

36:42

Q: How should developers deal with depression and mental health? Links Sentry Freshbooks Syntax 060: The Undocumented Wed Syntax 118: The Smart Home IFTTT Hue/Ring applet Syntax 120: Gatsby vs Next Next.js ××× SIIIIICK ××× PIIIICKS ××× Scott: Clarity Money Wes: Wyze Camera Shameless Plugs Scott?s React Hooks For Everyone Wes? CSS Grid Course Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-03-06
Länk till avsnitt

Hasty Treat - Authentication: LocalStorage vs Cookies vs Sessions vs Tokens

In this Hasty Treat, Scott and Wes talk about authentication ? the difference between localStorage, cookies, session, tokens and more!

LogRocket - Sponsor

LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It?s an exception tracker, a session replayer and a performance monitor. Get 14 days free at https://logrocket.com/syntax.

Show Notes

4:20 - How should we track users?

Token based - generally stored in the client Session based - stored on the server Token Based (JWT)

6:00 - Token-based auth

Stateless - the server does not maintain a list of logged in users Scalable - you can use serverless functions easily Cross domain Data can be stored in JWT Easy to use on non-web sites like mobile apps Hard to expire tokens ? you must maintain a list of blacklisted tokens

7:48 - Session-based auth

Stateful - generally you maintain a list of session IDs Passive - once signed in, no need to send token again Easy to destroy sessions

10:48 - How do we identify the user on each request? localStorage or Cookies?

A common misconception is that localStorage is for tokens while cookies is for sessions With localStorage, we need to grab the token and send them along on each request With cookies, the data is sent along on each request

11:25 - Security Issues

XSS for Tokens - make sure bad actors can?t run code on your site Sanitize inputs XSRF - CSRF tokens are needed Links Cookies vs Tokens: The Definitive Guide Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter Make sure to include @SyntaxFM in your tweets
2019-03-04
Länk till avsnitt

How We Manage Our Lives ? Notion, Todos, Notes, Focusing, Calendars, Goal tracking, and more!

In this episode, Wes and Scott talk about life management ? the systems and tools for managing all the the busy details of life and work.

Freshbooks - Sponsor

Get a 30 day free trial of Freshbooks at freshbooks.com/syntax and put SYNTAX in the ?How did you hear about us?? section.

Sentry - Sponsor

If you want to know what?s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry.io and using the coupon code ?tastytreat?.

Show Notes

5:00 - Todos

GTD philosophy Todoist Things

12:31 - Focusing

Focus app Turn off all notifications on iOS and desktop Rename apps Ask yourself why you feel the way you do Should be doing email? Do I need to eat that frog? Why do I not enjoy this? Sticky note on screen or desk

21:27 - How we track ideas, thoughts, and notes

Get everything out of your head Markdown files Evernote Notion

27:23 - Calendar and schedule

Google calendar USB light switch

33:30 - Goal tracking / Life progression

Keep concepts and ideas in Notion Milestones (bigger ideas) are separated Use the system that works best for you

36:58 - Fun things with Notion

What is Notion? Cross-linking/referencing between boards Episode calendar and possible episodes kanban Links Freshbooks Sentry Todoist Things Getting Things Done: The Art of Stress-Free Productivity Focus Notion Evernote Bryant Electric USB light switch Bear app Airtable ××× SIIIIICK ××× PIIIICKS ××× Scott: LG Ultrawide Monitor Wes: LG 4k 32" Monitor Shameless Plugs Scott?s React Hooks For Everyone Course Wes? Courses Tweet us your tasty treats! Scott?s Instagram LevelUpTutorials Instagram Wes? Instagram Wes? Twitter Wes? Facebook Scott?s Twitter
2019-02-27
Länk till avsnitt
En liten tjänst av I'm With Friends. Finns även på engelska.
Uppdateras med hjälp från iTunes.