react-redux-skeletor's People
react-redux-skeletor's Issues
Evaluate using 'paginated-redux' for the search windgets
Reusable: Checkbox
Acceptance Criteria:
- Refactor component to use Classes
- Rename props to be more self-explanatory:
value -> valuesSelected
values -> options - Allow component accept
options
in three formats:- plain array (as it works now e.g.
[1,2,3]
) - array of objects (e.g.
[{id: 1, label: "label"}
] - object (e.g.
{1: "label-1", 2: "label-2"}
)
And introduce new property 'inputFormat' ['array', 'objects', 'object'] to suggest component what is the input format is
We still want component to implement 'labelCallback' function to allow label change from outside of component (for ALL 3 use cases above)
- plain array (as it works now e.g.
- Gracefully handle input format, and report developer about incorrect input format (using propTypes and component business logic)
Add Webpack to the skeletor project so we can have both tools in place (Gulp and Webpack)
[PLACEHOLDER] Create toolkit of React components
[PLACEHOLDER] Form management in React (please speak with Jerry prior starting any coding)
Add 'json-schema' to the skeletor project to properly validate data model on the frontend
Reusable: Lister
Acceptance criteria:
Implement component which will render the list of components (React components) and introduce pagination for the rendered results.
Suggested props:
data
(array of react components OR ids)itemCallback
(called for each rendered item. Function will receiveid
and expect to return rendered component in JSX format)withPagination
(no suggested value, when prop exists Lister will assume rendered data should be paginated)itemsPerPage
(integer value, number of items rendered on the page)totalPages
(optional integer; total amount of pages for pagination)pagerStyle
(enum ['regular', 'lazy']. Whenregular
is populated, component will render list of clickable buttons like [1], [2], [3]. Whenlazy
populated, component will render button 'Show more' clicking on which component will append next XX amount of items to the end of the list)loadMoreCallback
(optional callback allows developer to populate text on the 'Load more' button ifpagerStyle
set tolazy
)onpageLoad
(receives integerpage
value as input param; optional callback which will allow to request additional list of data to be rendered. Can be used if there is no full dataset available to render and allows developer to implement real Lazy Load by asynchronously request requested page and populate data on on async response)
Assess using 'react-storybook' for the 'reusable react components'
Create 'fetch-retry' function and replace 'jQuery.ajax' with axios
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.