Skip to content

Commit

Permalink
Merge pull request #164 from neetishsingh/master
Browse files Browse the repository at this point in the history
Bug Fix : Lazy Loader(Async) Render issue #163
  • Loading branch information
T4rk1n authored Oct 18, 2024
2 parents 04ced3b + ffddd66 commit 788d21d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion {{cookiecutter.project_shortname}}/src/lib/LazyLoader.js
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export const {{cookiecutter.component_name}} = React.lazy(() => import(/* webpackChunkName: "{{cookiecutter.component_name}}" */ './fragments/{{cookiecutter.component_name}}.react'));
import React from 'react';

export const {{cookiecutter.component_name}} = React.lazy(() => import(/* webpackChunkName: "{{cookiecutter.component_name}}" */ './fragments/{{cookiecutter.component_name}}.react'));

0 comments on commit 788d21d

Please sign in to comment.