Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make all references to route-bundle =>routes-bundle for consistency #132

Merged
merged 1 commit into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading