langleyfoxall / langleyfoxall/react-dynamic-data-table

Add the ability to disable the initial AJAX load

Open
#49 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
12
Forks
16
PR merge metrics
No merged PRs in 30d

Description

A prop should be implemented that disables the initial AJAX load, an example for a name would be initialLoad. By default initialLoad would be true.

<AjaxDynamicDataTable
    initialLoad={false}
/>

This would be useful when piping data from Laracasts's JavaScript utility package. As initial data would come from the controller.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the AjaxDynamicDataTable component and trace where its initial AJAX request is triggered. Add the optional initialLoad prop with a default of true, then verify that initialLoad={false} skips the request while the default behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.