Reactpy

Latest version: v1.1.0

Safety actively analyzes 688559 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 15

0.36.3

Misc bug fixes along with a minor improvement that allows components to return ``None``
to render nothing.

**Closed Issues**

- All child states wiped upon any child key change - 652
- Allow NoneType returns within components - 538

**Merged Pull Requests**

- fix 652 - 672
- Fix 663 - 667

0.36.2

Hot fix for newly introduced `DeprecatedOption`:

- c146dfb264cbc3d2256a62efdfe9ccf62c795b01

0.36.1

Includes bug fixes and renames the configuration option `IDOM_WED_MODULES_DIR` to `IDOM_WEB_MODULES_DIR` with a corresponding deprecation warning.

**Closed Issues**

- Fix Key Error When Cleaning Up Event Handlers - 640
- Update Script Tag Behavior - 628

**Merged Pull Requests**

- mark old state as None if unmounting - 641
- rename IDOM_WED_MODULES_DIR to IDOM_WEB_MODULES_DIR - 638

0.36.0

This release includes an important fix for errors produced after 623 was merged. In addition there is not a new `http.script` element which can behave similarly to a standard HTML `<script>` or, if no attributes are given, operate similarly to an effect. If no attributes are given, and when the script evaluates to a function, that function will be called the first time it is mounted and any time the content of the script is subsequently changed. If the function then returns another function, that returned function will be called when the script is removed from the view, or just before the content of the script changes.

**Closed Issues**

- 629
- 544

**Pull Requests**

- 632
- 631
- 617

0.35.4

Keys for elements at the root of a component were not being tracked. Thus key changes for elements at the root did not trigger unmounts.

**Closed Issues**

- 622

**Pull Requests**

- 623

0.35.3

As part of 614, elements which changed type were not deeply unmounted. This behavior is probably undesirable though since the state for children of the element in question would persist (probably unexpectedly).

**Pull Requests**

- Always deeply unmount - 620

Page 5 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.