Early feedback #1
Labels
component: data grid
This is the name of the generic UI component, not the React module!
support: docs-feedback
Feedback from documentation page
This issue was originally opened in https://github.com/dtassone/fin-ui-demo/issues/3, 10/04/2020, work was transferred to this repository, for now.
Notes I have taken while looking at the source. Some are more relevant than others. I have been as exhaustive as I could.
It's the approach we use in the main repository. It avoids back and forth with the top of the file when refactoring.
https://github.com/dtassone/fin-ui-demo/blob/7f55b34d1927f219ffade1c30d81d1b864c32991/.prettierrc.js#L1-L7 to:
I was reading the code and noticed that most of the lines were going off the screen. 180 chars per line is a lot 😬.
https://github.com/dtassone/fin-ui-demo/blob/7f55b34d1927f219ffade1c30d81d1b864c32991/src/components/grid/grid.tsx#L16
px
is the default unit:https://github.com/dtassone/fin-ui-demo/blob/7f55b34d1927f219ffade1c30d81d1b864c32991/src/components/grid/grid.tsx#L42
components
in v5 to enable developers to inject custom versions. I think that it will be interesting to look at the API of https://github.com/DevExpress/devextreme-reactive, it's a prior-work to solve the theming problem.https://github.com/dtassone/fin-ui-demo/blob/7f55b34d1927f219ffade1c30d81d1b864c32991/src/components/grid/styled-wrappers/data-container.tsx#L12 What's the objective?
https://github.com/dtassone/fin-ui-demo/blob/7f55b34d1927f219ffade1c30d81d1b864c32991/src/components/grid/hooks/utils/useLogger.ts#L19
I like the idea behind https://basecamp.com/shapeup/.
onScroll
listener. Would it be worth looking at pruning the logic for the x or y-axis if it wasn't scrolled?import { debounce } from '@material-ui/core/utils';
It's a 10 LOCs method. Speaking of debounce, we should clear it when you unmount the component, otherwise, we risk crashing the app.Great start 👍
The text was updated successfully, but these errors were encountered: