Build A Journaling App with Meteor 1.3 (Beta), React, React-Bootstrap, and Mantra
Ken Rogers
5419

Hi Ken,

Thank you for this awesome tutorial. This Meteor business is slowly starting to make sense.

I would just like to point out:

Inside Entry.jsx and EntryList.jsx components {entry.title} is being used. However only {entry.text} is being saved from the NewEntry.jsx component form. An individual entry doesn’t have a title as per the tutorial currently.

This gave me a -> TypeError: Cannot read property ‘title’ of undefined.

I simply took all {entry.title} out to move past the error.

Also my anchor tag in my EntryList component simply would not work. The ${entry._id} portion kept getting escaped in the URL and all the URLs were the same for every entry.

I had to change

<a href={`/entry/${entry._id}`}>View Entry</a>

To

<a href={`/entry/` + entry._id.toString()}>View Entry</a>

And it works perfectly.

Hope that helps for those working through this if encountering similar issues.

Developing on win 10.