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
The text was updated successfully, but these errors were encountered:
OllieJennings
changed the title
loadProps won't be called in class unless class is "default export"
loadProps won't be called in class unless class is prefixed with "export default"
May 30, 2016
Also won't work unless it is the main class being called reference by routes in react-router
I.e. when using react-router unless the component being reference has the loadProps method in it, it will be called, however if it exists in any children components, it won't be called
I could be wrong here, but from testing, there appears to be a bug in how the static method
loadProps
is called.For example, the method won't be called (shown in code below):
But in the example below, the method will be called
Not sure if this intended or not?
The text was updated successfully, but these errors were encountered: