Bootstrap the application

The application starting point is the page src/index.ejs. You won't find any script in this file. Webpack will insert all needed imports (CSS and JavaScript). You will also find an HTML div element which will host the application.

The entry point for the JavaScript code is src/index.js, which renders the Root React component into the div element aforementioned. The Root component render methodes returns a Provider component from React Redux.

The Provider component is passed a store property with a value provided by the src/js/store/configure-store.js file. This file returns the result of Redux createStore applied to the following arguments:

The Provider component initiates the application state and makes it available to all the components.

The main "visual" component of the application is PoguesApp

results matching ""

    No results matching ""