Skip to content
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
9 changes: 2 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,7 @@ classifiers = [
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"fastjsonschema >=2.14.5",
"requests >=2",
"lxml >=4",
"anyio >=3",
]
dependencies = ["fastjsonschema>=2.14.5", "requests>=2", "lxml>=4", "anyio>=3"]
dynamic = ["version"]
urls.Changelog = "https://reactpy.dev/docs/about/changelog.html"
urls.Documentation = "https://reactpy.dev/"
Expand All @@ -53,7 +48,7 @@ urls.Source = "https://github.com/reactive-python/reactpy"
[project.optional-dependencies]
all = ["reactpy[asgi,jinja,testing]"]
asgi = ["asgiref", "asgi-tools", "servestatic", "orjson"]
jinja = ["jinja2-simple-tags", "jinja2 >=3"]
jinja = ["jinja2-simple-tags", "jinja2>=3"]
testing = ["playwright", "uvicorn[standard]"]

[tool.hatch.version]
Expand Down
257 changes: 0 additions & 257 deletions src/js/packages/event-to-object/src/events.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/reactpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from reactpy.utils import Ref, reactpy_to_string, string_to_reactpy

__author__ = "The Reactive Python Team"
__version__ = "2.0.0b5"
__version__ = "2.0.0b6"

__all__ = [
"Ref",
Expand Down
4 changes: 2 additions & 2 deletions src/reactpy/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -544,8 +544,8 @@ class DangerouslySetInnerHTML(TypedDict):
__html: str


# TODO: It's probably better to break this one attributes dict down into what each specific
# HTML node's attributes can be, and make sure those types are resolved correctly within `HtmlConstructor`
# TODO: It's probably better to break this down into what each HTML node's attributes can be,
# and make sure those types are resolved correctly within `HtmlConstructor`
# TODO: This could be generated by parsing from `@types/react` in the future
# https://www.npmjs.com/package/@types/react?activeTab=code
VdomAttributesTypeDict = TypedDict(
Expand Down
1 change: 0 additions & 1 deletion tests/tooling/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ def use_toggle(init=False):
return state, lambda: set_state(lambda old: not old)


# TODO: Remove this
def use_counter(initial_value):
state, set_state = use_state(initial_value)
return state, lambda: set_state(lambda old: old + 1)
Loading