Closed kagol closed 4 days ago
The changes in this pull request involve an update to the renderless
function within the vue.ts
file of the renderless
package. An additional parameter, watch
, has been added to the function signature, enabling the use of Vue's watch
API for improved reactive data handling. A new watch
call is introduced to observe changes to props.treeOp.data
, updating state.treeData
accordingly. This enhancement allows for deeper tracking of changes in the data structure while maintaining the existing structure of the api
object.
File | Change Summary |
---|---|
packages/renderless/src/tree-select/vue.ts | Updated renderless function signature to include watch . Added a watch call for treeOp.data . |
renderless
function in the same vue.ts
file, adding the emit
parameter, which is also a focus of the main PR's changes.In the meadow where data flows,
A rabbit watches as it grows.
Withwatch
in hand, it hops with glee,
Reacting swiftly, just wait and see!
Trees will flourish, data in sight,
A renderless dance, oh what a delight! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
[e2e-test-warn] The component to be tested is missing.
The title of the Pull request should look like "fix(vue-renderless): [action-menu, alert] fix xxx bug".
Please make sure you've read our contributing guide
PR
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: #2287
What is the new behavior?
Does this PR introduce a breaking change?
Other information
Summary by CodeRabbit
New Features
Bug Fixes