W
W
Wood Walker2019-02-24 18:34:28
React
Wood Walker, 2019-02-24 18:34:28

Rendering a table cell, without rendering the entire table?

I have a 10x10 table. This is how it works for me now.
When one cell is updated, the entire table is redrawn.
Question. How can I organize the code so that when the cell state is updated, only it is rendered, and not the entire table? It would seem that the answer is simple, create a cell for the component, in which to store / change the state. But there is a problem, whether the state in 1 cell changes depends on the states of some other cells.
Is there any standard way to do this? Thanks in advance.
PS There is already a mess in my head, so I apologize in advance for the probably not intelligible outline of the question.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikolai, 2019-02-24
@dollar1610

Create a Cell component, connect an editor, and push the state of the cells into a common page.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question