Go Pro Sign Up Login

Buy Now and unlock this series

$

44

.99

$

34

.99

yours forever

Become a Pro and unlock everything

$

24

.99

per month

React Spring

In this video, we are going to continue to build upon the interface by using React Spring. React Spring will give us the ability to do some really cool animations. We will start by changing the header image size depending on what page we are currently on.

Downloads

Become a pro to download code and videos

Comments

User avatar

Allan

almost 2 years ago

@Cody Spriggs Thanks Cody! Had no idea what I was doing wrong then looked at the comments and you have saved me a lot of frustration!

User avatar

Graeme

over 2 years ago

@Cody Spriggs Thanks Cody you saved me there! import { Spring } from 'react-spring/renderprops'

Sam

over 2 years ago

@Cody Spriggs Thank you!!

Cris

over 2 years ago

Quick question about passing down props in gatsby... the main component where we should be looking at all time is PageRenderer component correct? that seems to be the main place where most props live..

so then in order for our components to have access to the location, we must first pass it down to all our pages because they are the higher component is that right?

then comes layout>[all other components] right?

User avatar

Andrew

over 2 years ago

@Cody Spriggs thanks for the heads up

Austin Isinghood

almost 3 years ago

@Cody Spriggs Good call.

Cody Spriggs

almost 3 years ago

Hey Scott, just wanted to point out that I had to update my import "Spring" location to be from 'react-spring/renderprops' for it to work for me. Thanks for the great course!

Want to join the conversation?

Become a Pro member today!