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 JSX in the react-router examples uses "class" instead of "className", and with the current version of react (15.4.1) the "class" declarations are ignored. The most obvious impact of this is on the nav bar, which is rendered as a simple list of links. Although there is an npm package named jsx-html-class that will allow the use of "class" in JSX, I don't recall seeing it mentioned during the setup/configuration portion of the tutorial.
The text was updated successfully, but these errors were encountered:
The JSX in the react-router examples uses "class" instead of "className", and with the current version of react (15.4.1) the "class" declarations are ignored. The most obvious impact of this is on the nav bar, which is rendered as a simple list of links. Although there is an npm package named jsx-html-class that will allow the use of "class" in JSX, I don't recall seeing it mentioned during the setup/configuration portion of the tutorial.
The text was updated successfully, but these errors were encountered: