I am getting this error:
TypeError: Unknown node of type: undefined at traverse.js:373:9
When i try to do this in a comp
return (
<div className="footer__container">
{
links && links.map((link, index) => {
return (
<p key={index}>dfdfdf</p>
);
})
}
</div>
);
However, if i change the link to a regular js list it will work:
return (
<div className="footer__container">
{
links && links.toJS().map((link, index) => {
return (
<p key={index}>dfdfdf</p>
);
})
}
</div>
);
When i log the list to the console, you clearly see the props of the regular list while the ImmutableJS list will only display object. And you can see the type prop on the regular list.

