(
currentCollection: Collection<any, any, any>,
)
| 343 | |
| 344 | // Helper to sync data array from collection in correct order |
| 345 | const syncDataFromCollection = ( |
| 346 | currentCollection: Collection<any, any, any>, |
| 347 | ) => { |
| 348 | setData((prev) => |
| 349 | reconcile(Array.from(currentCollection.values()))(prev).filter(Boolean), |
| 350 | ) |
| 351 | } |
| 352 | |
| 353 | const [getDataResource] = createResource( |
| 354 | () => ({ currentCollection: collection() }), |
no test coverage detected
searching dependent graphs…