From a7e8e26c005b0b4c0a8d6ea126496e9d402c096d Mon Sep 17 00:00:00 2001 From: Steve Sharp Date: Thu, 24 May 2018 15:32:50 -0700 Subject: [PATCH] Update README.md (#973) Fixes typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ae47e0f..4b705d3 100644 --- a/README.md +++ b/README.md @@ -780,7 +780,7 @@ If you want to handle pagination, sorting, and filtering on the server, `react-t 1. Feed React Table `data` from somewhere dynamic. eg. `state`, a redux store, etc... 1. Add `manual` as a prop. This informs React Table that you'll be handling sorting and pagination server-side -1. Subscribe to the `onFetchData` prop. This function is called at `compomentDidMount` and any time sorting, pagination or filterting is changed in the table +1. Subscribe to the `onFetchData` prop. This function is called at `componentDidMount` and any time sorting, pagination or filterting is changed in the table 1. In the `onFetchData` callback, request your data using the provided information in the params of the function (current state and instance) 1. Update your data with the rows to be displayed 1. Optionally set how many pages there are total