bcx-aurelia-reorderable-repeat icon indicating copy to clipboard operation
bcx-aurelia-reorderable-repeat copied to clipboard

Aurelia 2

Open elitastic opened this issue 2 years ago • 11 comments

As Aurelia 2 is in beta now, are there any plans to support Aurelia 2?

Thanks for a short feedback.

elitastic avatar Mar 09 '23 14:03 elitastic

3cp/aurelia2-dnd#2

I need to get back to it.

Aurelia 2 has this sync mode of change notification which causes issue of state tearing.

3cp avatar Mar 09 '23 21:03 3cp

Aurelia 2 has this sync mode of change notification which causes issue of state tearing.

Instead of spreading state across multiple fields, maybe group them all into a single object? if they need together, maybe we need to group them together?

bigopon avatar Mar 09 '23 22:03 bigopon

I can use the batch api if it's available.

3cp avatar Mar 09 '23 23:03 3cp

This issue is resolvable here because this is an aurelia plugin.

For some other js lib out of aurelia landscape, aurelia 1 can observe any POJO change without any problem. But aurelia 2 might have trouble, user might need to wrap it behind batch api in user's app code. This is main worry I had about aurelia 2's sync observing.

3cp avatar Mar 10 '23 00:03 3cp

What do you guys think, does anyone find time to take a look at this in the near future?

elitastic avatar Jun 12 '23 07:06 elitastic

@bigopon is the batch API ready yet?

3cp avatar Jun 13 '23 00:06 3cp

@3cp it is for both normal and collection

bigopon avatar Jun 13 '23 01:06 bigopon

Thx, I will have a look.

3cp avatar Jun 13 '23 01:06 3cp

Batch api worked well in https://github.com/3cp/aurelia2-dnd v0.3.0.

Aurelia 2's reorderable-repeat will take some work as the repeater in Aurelia 2 is totally different from Aurelia v1.

3cp avatar Jul 27 '23 04:07 3cp

Any luck?

MaximBalaganskiy avatar Nov 12 '24 05:11 MaximBalaganskiy

I will start this. But don't expect finishing fast, as au2 repeater is totally different. Hope I can make it behaving same on the surface.

3cp avatar Nov 12 '24 21:11 3cp