Skip to content Skip to sidebar Skip to footer

Relay's Inject Network Layer Not Being Recognized As A Function In A React App

I am following along a Lynda.com tutorial called 'Building and Deploying a Full-Stack React Application', and in the chapter 'Injecting the Relay Network Layer' there is in index.j

Solution 1:

You are probably not using the right version of Relay, but its just a guess. Check if the tutorial specifies any version and check which one you are using.

A lot of things changed in the last version of Relay: Relay-Modern. You might want to look into that, its way more convenient and efficient than Relay-Classic.

Also there are easier ways to combine a router with relay. Create your Relay Environment directly above or below your router, depending on if you need to get routes out of your db. But I guess you just need to get through the tutorial.


Post a Comment for "Relay's Inject Network Layer Not Being Recognized As A Function In A React App"