You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No, because render is attached to this which is bound when using an arrow function. i.e. an arrow function won't get the special this context that iron-router gives to the route handlers.
Defining a route using the following code:
will print an error in the console:
while the same code but with a regular function callback will work as expected:
I know that the default way to define routes is with regular functions but shouldn't this theoretically work?
The text was updated successfully, but these errors were encountered: