Closed geekyme closed 9 years ago
Sorry, for the delay in responding. Can you elaborate on what you mean a route with a list?
The stack trace includes fetcher.client.js. Are you trying to pass an immutable object to a service.read
by any chance? It may be that fetchr is trying to serialize the immutable object. If this is the case, you should pass myObject.toJS()
to the service call instead.
I've managed to fix the issue thanks to your pointers.
The action I was calling in route.js for this particular route was getActivities
and it was passed the route immutable object as in the data parameter.
I was passing the entire route object into context.service.read() which triggered that warning. :S
Anyways I realized that if I'm on the route /activity/, and I click the route that links to /activity/ again, the route action actually triggers despite no changes in the route.
I got this warning when I navigate using
<NavLink />
to a route with a list. No idea how to debug this. It does not happen on server side rendering. only on client side rendering when transiting routes.