Skip to content

Commit

Permalink
make all references to route-bundle =>routes-bundle for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
willbreitkreutz committed Nov 14, 2024
1 parent c56f5cf commit 06e7c73
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/app-bundles/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { composeBundles, createUrlBundle } from "redux-bundler";
import routeBundle from "./route-bundle";
import routesBundle from "./routes-bundle";

export default composeBundles(createUrlBundle(), routeBundle);
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -275,11 +275,11 @@ export default function Location() {
<H3>Creating the Store</H3>
<P>
So, before we create the store itself, we need to create our route
bundle. Open the <Code>./src/app-bundles/route-bundle.js</Code> file
bundle. Open the <Code>./src/app-bundles/routes-bundle.js</Code> file
and add the following content:
</P>
<Code className="!gw-font-bold">
./src/app-bundles/route-bundle.js
./src/app-bundles/routes-bundle.js
</Code>
<CodeExample
code={`import { createRouteBundle } from "redux-bundler";
Expand Down Expand Up @@ -322,9 +322,9 @@ export default createRouteBundle({
<Code className="!gw-font-bold">./src/app-bundles/index.js</Code>
<CodeExample
code={`import { composeBundles, createUrlBundle } from "redux-bundler";
import routeBundle from "./routes-bundle";
import routesBundle from "./routes-bundle";
export default composeBundles(createUrlBundle(), routeBundle);`}
export default composeBundles(createUrlBundle(), routesBundle);`}
></CodeExample>
<P>
Here we're importing the <Code>composeBundles</Code> function and a
Expand Down

0 comments on commit 06e7c73

Please sign in to comment.