Skip to content

Commit 9835ba9

Browse files
committed
more verbose naming
1 parent 4bcb55f commit 9835ba9

File tree

4 files changed

+101
-157
lines changed

4 files changed

+101
-157
lines changed

docs/source/about/changelog.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ Unreleased
3131
- :pull:`1281` - Added type hints to ``reactpy.html`` attributes.
3232
- :pull:`1285` - Added support for nested components in web modules
3333
- :pull:`1289` - Added support for inline JavaScript as event handlers or other attributes that expect a callable via ``reactpy.types.InlineJavaScript``
34-
-:pull:`1307` - Added ``reactpy.web.import_js_from_file`` to import ReactJS components from a file.
35-
-:pull:`1307` - Added ``reactpy.web.import_js_from_url`` to import ReactJS components from a URL.
36-
-:pull:`1307` - Added ``reactpy.web.import_js_from_string`` to import ReactJS components from a string.
34+
-:pull:`1307` - Added ``reactpy.web.reactjs_component_from_file`` to import ReactJS components from a file.
35+
-:pull:`1307` - Added ``reactpy.web.reactjs_component_from_url`` to import ReactJS components from a URL.
36+
-:pull:`1307` - Added ``reactpy.web.reactjs_component_from_string`` to import ReactJS components from a string.
3737

3838
**Changed**
3939

@@ -55,10 +55,10 @@ Unreleased
5555
- :pull:`1196` - Rewrite the ``event-to-object`` package to be more robust at handling properties on events.
5656

5757
**Deprecated**
58-
-:pull:`1307` - ``reactpy.web.export`` is deprecated. Use ``reactpy.web.import_js_from_*`` instead.
59-
-:pull:`1307` - ``reactpy.web.module_from_file`` is deprecated. Use ``reactpy.web.import_js_from_file`` instead.
60-
-:pull:`1307` - ``reactpy.web.module_from_url`` is deprecated. Use ``reactpy.web.import_js_from_url`` instead.
61-
-:pull:`1307` - ``reactpy.web.module_from_string`` is deprecated. Use ``reactpy.web.import_js_from_string`` instead.
58+
-:pull:`1307` - ``reactpy.web.export`` is deprecated. Use ``reactpy.web.reactjs_component_from_*`` instead.
59+
-:pull:`1307` - ``reactpy.web.module_from_file`` is deprecated. Use ``reactpy.web.reactjs_component_from_file`` instead.
60+
-:pull:`1307` - ``reactpy.web.module_from_url`` is deprecated. Use ``reactpy.web.reactjs_component_from_url`` instead.
61+
-:pull:`1307` - ``reactpy.web.module_from_string`` is deprecated. Use ``reactpy.web.reactjs_component_from_string`` instead.
6262

6363

6464
**Removed**

src/reactpy/web/__init__.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
from reactpy.web.module import (
22
export,
3-
import_js_from_file,
4-
import_js_from_string,
5-
import_js_from_url,
63
module_from_file,
74
module_from_string,
85
module_from_url,
6+
reactjs_component_from_file,
7+
reactjs_component_from_string,
8+
reactjs_component_from_url,
99
)
1010

1111
__all__ = [
1212
"export",
13-
"import_js_from_file",
14-
"import_js_from_string",
15-
"import_js_from_url",
1613
"module_from_file",
1714
"module_from_string",
1815
"module_from_url",
16+
"reactjs_component_from_file",
17+
"reactjs_component_from_string",
18+
"reactjs_component_from_url",
1919
]

0 commit comments

Comments
 (0)