react-component / react-component/pagination

Getting Started

Open
#330 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
674
Forks
333
Avg merge
12m
Merged PRs (30d)
1

Description

Confused how to get started. Happy to create a PR with some additional docs if someone can point me in the right direction.

Problem

This is my result when trying to create a very simple example using CRA:

Screen Shot 2021-03-22 at 12 41 01 PM

Steps to Reproduce

Create a react app using CRA:

npx create-react-app pagination
cd pagination
npm i

Install rc-pagination:

npm i rc-pagination

Update src/App.js to include a Pagination component:

import logo from './logo.svg';
import './App.css';
import Pagination from 'rc-pagination';
. . .
	<Pagination
	  onChange={() => alert("HI")}
	  defaultCurrent={1}
	  total={5}
	/>
      </header>
    </div>
. . . 

Start the dev server

npm start

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

Reproduce the report using the CRA steps in the issue and the example in src/App.js. Inspect how the Pagination component is introduced in the project’s usage guidance; the work is done when a newcomer can follow the getting-started instructions and render the example without the reported confusion.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
documentation, frontend
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.