You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using perspective with react/typescript and am streaming the table updates via websocket. I am currently unable to get the updates to apply to the index I have set (a unique identitifier), instead it keeps adding more rows and thus have duplicates of all the unique identifiers.
I have updated the index.d.ts in my local environment to include:
get_index(): Promise;
under the Table type definition.
This enables me to obtain the table index and use this code:
Feature Request
Description of Problem:
I am using perspective with react/typescript and am streaming the table updates via websocket. I am currently unable to get the updates to apply to the index I have set (a unique identitifier), instead it keeps adding more rows and thus have duplicates of all the unique identifiers.
I have updated the index.d.ts in my local environment to include:
get_index(): Promise;under the Table type definition.
This enables me to obtain the table index and use this code:
const table = await worker.table(server_view, { index: await server_table.get_index() });Potential Solutions:
If there is no particular reason not to, I propose that the get_index() method is added to the typescript Table type definition file.
If there is a better/preferred way of dealing with this in react/typescript I would be happy to learn that and implement it.
The text was updated successfully, but these errors were encountered: