Discussion on: Rails API with a frontend built in React, Part IV.

giomv profile image
Giulio Mondoñedo

Hey, nice rails+react series. Just a couple of observations.

This line in the MovieListItem component is not necessary:

import { prettyDate } from "../../../utils/langHelper"

In the App.js this import was missing:

import { BrowserRouter as Router } from "react-router-dom";

And finally the base url in the .env file should change to:


jean182 profile image
Jean Aguilar Author

Hi thank you, I will make the corrections. If you have any questions, suggestions feel free to ask me.