erikras / erikras/react-redux-universal-hot-example

How to make a page to view a single widget?

Open
#823 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
12.1k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

Let's say I have a route

``` javascript

```

How to load it from the server? I have to create a separate option in the state?
Or should I add it to the general list of the widgets?

You can add an example of creating CRUD interface?

For example:
- `/widgets` Page to show a list of widgets
- `/widgets/:id` Page to show a single widget
- `/widgets/new` Page to create a new widget
- `/widgets/:id/edit` Page to edit a widget

It is very difficult to figure out how to do it. Maybe someone else can share an example of implementation?

It would be nice to see an example of pagination and the various filters to control sorting and so on.

Contributor guide

Open the contributing guide

Research direction

The issue names the `Route` for `widget/:id` and the `Widget` component; begin by tracing how this repository loads server data into state and wires its routes. Done would be a documented CRUD example covering list, detail, create, edit, pagination, and filtering, with no specific file or test identified in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
express, javascript, react, redux
Domain
documentation, full-stack
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.