In this episode of Syntax, Scott and Wes talk about what they wish existed in React!
Refactor your body with DevLifts. They have a few different programs: 1) fit.start (normally $19/month) has a few options (lean, bodyweight, and strong). Workouts are delivered via email each month, with access to a Slack community for questions and accountability. 2) Premium (normally $199/month) is a custom-tailored option, where you get your workouts and nutrition advice after answering a questionnaire. They also check in with you each week via Slack to see how it's going and make changes if necessary. Get 50% off fit.Start plans with code SYNTAX and 50% off Premium with code TASTY.
Get a 30 day free trial of Freshbooks at freshbooks.com/syntax and put SYNTAX in the "How did you hear about us?" section.
03:53 - Unmount delay for animation
06:20 - Suspense with SSR released (or not because I think they are shelving it)
09:24 - File based components
tag per page.11:50 - Prevent Default shortcuts
13:00 - No more useIsoLayoutEffect
15:52 - Recommended hooks
18:25 - A good form strategy
20:43 - Write once deploy everywhere
22:28 - Compile time directives
25:11 - Slots instead of children
26:44 - Removal of htmlFor, className and all other abominations of html
29:09 - Import Raact from React for JSX to work
32:31 - Better conditional / if statement syntax
33:09 - Fragments by default
33:54 - Automatic key ids
_id
or id36:36 - Simple scoped CSS built in
37:29 - Short hand for props with same name is prop={prop}
39:00 - Prop interpolation without backticks: name="$first $last"
${first} ${last}
instead of name={${first} ${last}
}39:43 - Story for typescript/prettier/babel
40:11 - Automatic a href client side routing
41:51 - Scaffolding and component generation
📆 2020-06-29 15:00 / ⌛ 00:34:19
📆 2020-06-22 15:00 / ⌛ 00:19:45
📆 2020-06-17 15:00 / ⌛ 00:44:47
📆 2020-06-15 15:00 / ⌛ 00:22:27