Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using TransformedData instead of ItemTreeNode here #76

Open
github-actions bot opened this issue May 6, 2023 · 0 comments
Open

Consider using TransformedData instead of ItemTreeNode here #76

github-actions bot opened this issue May 6, 2023 · 0 comments
Labels

Comments

@github-actions
Copy link

github-actions bot commented May 6, 2023

would need to refactor Items to use full capabilities of TransformedData

https://api.github.com/acenturyandabit/workflowish/blob/d9dac81df2e15a1b543aaf24406286b3278b7042/src/Workflowish/mvc/context.tsx#L4

import * as React from 'react';
import { ItemTreeNode } from './model';

// TODO: Consider using TransformedData instead of ItemTreeNode here
// would need to refactor Items to use full capabilities of TransformedData 
export const ModelContext = React.createContext<ItemTreeNode>({
    lastModifiedUnixMillis: 0,
    id: "MODEL_CONTEXT_DEFAULT",
@github-actions github-actions bot added the todo label May 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

0 participants