Skip to content

Commit 788d21d

Browse files
authored
Merge pull request #164 from neetishsingh/master
Bug Fix : Lazy Loader(Async) Render issue #163
2 parents 04ced3b + ffddd66 commit 788d21d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
export const {{cookiecutter.component_name}} = React.lazy(() => import(/* webpackChunkName: "{{cookiecutter.component_name}}" */ './fragments/{{cookiecutter.component_name}}.react'));
1+
import React from 'react';
2+
3+
export const {{cookiecutter.component_name}} = React.lazy(() => import(/* webpackChunkName: "{{cookiecutter.component_name}}" */ './fragments/{{cookiecutter.component_name}}.react'));

0 commit comments

Comments
 (0)