fulcro-data-load

Load and merge remote Fulcro data into a local app database.

1|Updated Aug 16, 2018
One-click install
npx skills add https://github.com/saskenuba/dotfiles --skill fulcro-data-load
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: fulcro-data-load
Source: https://github.com/saskenuba/dotfiles/tree/main/ai/.claude/skills/fulcro-data-load
Command: npx skills add https://github.com/saskenuba/dotfiles --skill fulcro-data-load

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Fulcro data loading and merging remote data into a local normalized app database can be error-prone and complex; this Skill provides patterns and heuristics to ensure predictable data flow.

Core Features & Use Cases

  • Load and normalize data with df/load! using component queries
  • Use targeting to place data at the correct edges; apply pre-merge for UI state defaults; apply post-mutation for global graph reshaping
  • Leverage load markers to track loading state and support incremental loading and pruning as needed

Quick Start

Use df/load! to trigger a root query with df/load!, apply a target for the desired edge, and optionally set a loading marker for UI feedback.

Frequently Asked Questions about fulcro-data-load

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I load and merge remote data into a Fulcro app database?▼

To load and merge remote data into a Fulcro app database, use df/load! with component queries, apply targeting to place data at correct edges, and use pre-merge hooks for UI state defaults.

How does targeting work when fetching data with Fulcro load!?▼

Targeting in Fulcro load! places fetched remote data at specific edges in your local normalized database, ensuring predictable data flow and correct UI state initialization across components.

When should I use pre-merge and post-mutation hooks in Fulcro?▼

Use pre-merge hooks in Fulcro to apply UI state defaults to incoming remote data, and use post-mutation hooks for global graph reshaping after data fetching completes.

Can I track loading state during incremental Fulcro data fetching?▼

Yes, you can track loading state during incremental Fulcro data fetching by leveraging load markers, which provide UI feedback and support incremental loading and pruning.

What do I need to know before using Fulcro data loading patterns?▼

Before using Fulcro data loading patterns, you need knowledge of Fulcro's data-fetch API, including df/load!, targeting helpers, marker tables, and optional pre-merge and post-mutation hooks.

Why is merging remote data into a normalized Fulcro database error-prone?▼

Merging remote data into a normalized Fulcro database is error-prone due to complex data flow; using established patterns with load!, targeting, and markers ensures predictable merging and state management.