VisActor / VisActor/VTable

[Feature] @visactor/react-vtable自定义渲染cell时,获取不到外层的context的上下文

Open
#3,471 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
TypeScript
Stars
3.7k
Forks
486
Avg merge
1d 19h
Merged PRs (30d)
16

Description

What problem does this feature solve?

例如在全局的ConfigProvider 设置 主题及语言,在自定义的cell里获取不到 设置的主题及语言,
现在是通过table来传递,在设置给cell

What does the proposed API look like?

在自定义的cell直接可获取到全局的上下文

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining the @visactor/react-vtable custom cell-rendering entry point and how ConfigProvider currently supplies theme and language. Trace the existing table-to-cell propagation described in the issue and determine the intended context boundary. Done means custom cells can directly access the global theme and language without manual table-level forwarding.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
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.