|
|
|
|
|
by test098
1039 days ago
|
|
> there should be absolutely no reason for a developer to worry about rendering performance i have a csv with one million rows. should i load the entire thing into memory and render 1m * column_count dom elements? > Another argument of mine[0] would be the definitions that have been introduced by react. Component, state, hooks. It seems like we have forgotten about what they are actually called, and its function is in the context of programming (functions, variables, events, etc.). a Component is a Component because it represents a node in the React tree. not all functions are Components. state is state because it's more than a variable - updating it triggers re-rendering. a normal JS variable does not come with this reactivity. hooks are not events. they are wrappers for reusable logic. |
|