- Always blank!
- When I press edit window
--- If I've selected a mID - Find window id's, if all match, show those
- Find window id's, if not all match, show blank
const TableWrapper = ({ | |
someProperty, | |
otherProperty | |
}) => { | |
const [data, loading] = useQuery({ | |
variables: { | |
someProperty, | |
otherProperty | |
} | |
}); |
interface RolledUpWindow { ... propertiesofAWindow associatedWindowIds: [--> viewableIds] }
{ rgts_searchDealWindow: { dealEntries: { ... on Show {
import useReducerWithSideEffects, { | |
NoUpdate, | |
Update, | |
UpdateWithSideEffect, | |
Reducer, | |
ReducerReturn | |
} from 'use-reducer-with-side-effects'; | |
import { useCallback, useEffect, useContext } from 'react'; | |
const initialStateArgs = { |
interface Query { | |
queryString: string, | |
variables: { | |
[key]: string; | |
} | |
} | |
function convertToQuery({ | |
query, | |
queries, |
// Type definitions for use-reducer-with-side-effects 0.4 | |
// Project: https://github.com/baz/foo (Does not have to be to GitHub, but prefer linking to a source code repository rather than to a project website.) | |
// Definitions by: Chris Dhanaraj <https://github.com/chrisdhanaraj> | |
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | |
/*~ If this module has methods, declare them as functions like so. | |
*/ | |
type SideEffectArguments = { | |
state: any; |
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |