Skip to content

Commit a74cee5

Browse files
committed
update docstring
1 parent 5c9e648 commit a74cee5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/reactpy/reactjs/module.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,9 @@ def import_reactjs(
188188
Return an import map script tag for ReactJS or Preact.
189189
Parameters:
190190
framework:
191-
The framework to use, either "preact" or "react". Defaults to "preact".
191+
The framework to use, either "preact" or "react". Defaults to "preact" for
192+
performance reasons. Set this to `react` if you are experiencing compatibility
193+
issues with your component library.
192194
version:
193195
The version of the framework to use. Example values include "18", "10.2.4",
194196
or "latest". If left as `None`, a default version will be used depending on the

0 commit comments

Comments
 (0)