Skip to content

v0.2.0: Merge pull request #4 from Black-Cockpit/upgrading-yew-version

Choose a tag to compare

@hasnimehdi91 hasnimehdi91 released this 02 Apr 00:35
· 2 commits to master since this release
038e133

Upgraded Yew from 0.22.0 to 0.23.0.

Bug Fixes

Fixed components not re-rendering when table state changes (data, sorting,
pagination, filtering, row selection). All four component props had custom
PartialEq implementations that excluded the table handle, so Yew never
detected prop changes. The render_cell callback on TableBody was also
excluded and is now treated as always changed when present.

The key workaround previously required to force re-renders can be safely
removed.

Affected: TableBody, TableHeader, DataTable, Pagination.

Other Changes

Extracted CellRenderContext into its own file for code convention compliance.
Added integration tests for component re-rendering behavior.