
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
mobx-graphlink
Advanced tools
Integrate data from a GraphQL backend into MobX and React with declarative path requests. (built on Apollo)
Integrate data from a GraphQL backend into MobX and React with declarative path requests. (built on Apollo)
npm install mobx-graphlink --save-exactThe --save-exact flag is recommended (to disable version-extending), since this package uses Explicit Versioning (Release.Breaking.FeatureOrFix) rather than SemVer (Breaking.Feature.Fix).
For FeatureOrFix version-extending (recommended for libraries), prepend "~" in package.json. (for Breaking, prepend "^")
@DBClass({table: "todoItems"})
export class TodoItem {
@DB((t, n)=>t.text(n))
@Field({type: "string"})
id: string;
@DB((t, n)=>t.text(n))
@Field({type: "string"}, {req: true})
text: string;
@DB((t, n)=>t.boolean(n))
@Field({type: "string"})
completed: boolean;
@DB((t, n)=>t.specificType(n, "text[]"))
@Field({items: {type: "string"}})
tags: string[];
}
export class GraphDBShape {
todoItems: Collection<TodoItem>;
}
declare module "mobx-graphlink/Dist/UserTypes" {
// if you're using an app-wide mobx data-store, that you want easily accessible within "accessor" funcs
interface UT_StoreShape extends RootState {}
// shares the GraphDBShape class above (along with its TS type-constraints) with the mobx-graphlink library
interface UT_DBShape extends GraphDBShape {}
}
export const graph = new Graphlink<RootState, GraphDBShape>();
store.graphlink = graph;
SetDefaultGraphOptions({graph});
export function InitGraphlink() {
graph.Initialize({rootStore: store});
}
TODO
TODO
FAQs
Integrate data from a GraphQL backend into MobX and React with declarative path requests. (built on Apollo)
We found that mobx-graphlink demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.