Skip to content

Commit

Permalink
Performance: VideoPress: avoid useEffect call for every block on typi…
Browse files Browse the repository at this point in the history
…ng (#33724)

* Performance: VideoPress: avoid running useEffect for every block on typing

* unbreak the rules of hooks

* comment

* fix another instance

* fix eslint issue

* fix eslint issues

* changelog

* update videopress pkg version

---------

Co-authored-by: Damián Suárez <[email protected]>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/6599037104
  • Loading branch information
retrofox authored and matticbot committed Oct 21, 2023
1 parent 0b9a194 commit de2057d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.18.1-alpha] - unreleased

This is an alpha version! The changes listed here are not final.

## [0.18.0] - 2023-10-19
### Changed
- Move ProgressBar component to the shared `@automattic/jetpack-components` package. [#33054]
Expand Down Expand Up @@ -1154,6 +1158,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Created empty package [#24952]

[0.18.1-alpha]: https://github.com/Automattic/jetpack-videopress/compare/v0.18.0...v0.18.1-alpha
[0.18.0]: https://github.com/Automattic/jetpack-videopress/compare/v0.17.6...v0.18.0
[0.17.6]: https://github.com/Automattic/jetpack-videopress/compare/v0.17.5...v0.17.6
[0.17.5]: https://github.com/Automattic/jetpack-videopress/compare/v0.17.4...v0.17.5
Expand Down
2 changes: 1 addition & 1 deletion build/block-editor/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => 'ea2a1affc34b62765cbb');
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => '13506fc2972f45efab5e');
Loading

0 comments on commit de2057d

Please sign in to comment.