Open kikuomax opened 9 months ago
This might be caused by values bound to <b-slot-component>
, which are return values of methods; i.e., a brand new object is created every time the method is called. https://github.com/ntohq/buefy-next/blob/185589fbced9100d05c84760a7e4eed6dee53da7/packages/buefy-next/src/components/table/Table.vue#L318-L332
I found a case where the recursion error disappeared if I removed all of the v-bind
, :class
, and :style
bindings.
This might be caused by values bound to
<b-slot-component>
, which are return values of methods; i.e., a brand new object is created every time the method is called. https://github.com/ntohq/buefy-next/blob/185589fbced9100d05c84760a7e4eed6dee53da7/packages/buefy-next/src/components/table/Table.vue#L318-L332I found a case where the recursion error disappeared if I removed all of the
v-bind
,:class
, and:style
bindings.
As a result did the CPU usage go down to?
As a result did the CPU usage go down to?
@wesdevpro I was not able to measure the CPU usage because I just ran a tiny Vitest test case.
As a result did the CPU usage go down to?
@wesdevpro I was not able to measure the CPU usage because I just ran a tiny Vitest test case.
That makes sense
Overview of the problem
Buefy version: [0.1.2] Vuejs version: [3.3.7] OS/Browser: macOS/test-utils
Description
Table
caused infinite updates of reactive states.Steps to reproduce
cd packages/buefy-next
npx jest src/components/table/TableColumn.spec.js
Expected behavior
No infinite updates.
Actual behavior
Infinite updates.