Spreading data functional components TSX type error

This issue has been created since 2022-09-12.

Version

2.7.10

Reproduction link

codesandbox.io

Steps to reproduce

Spread data onto TSX component / intrinsic element causes type errors due to miss matching style definition of VNodeData property.

https://github.com/vuejs/jsx-vue2#attributesprops

What is expected?

Expect the spreading of data to not throw type error.

What is actually happening?

The style attribute expects the shape of string | CSSProperties however the VNodeData definition is string | object[] | object

k-furusho wrote this answer on 2022-09-19

I'm trying to solve this PR #12789

More Details About Repo
Owner Name vuejs
Repo Name vue
Full Name vuejs/vue
Language TypeScript
Created Date 2013-07-29
Updated Date 2022-09-27
Star Count 199644
Watcher Count 6098
Fork Count 32848
Issue Count 587

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
[remux] default xochitl service not being stopped 21 2021-11-19 2022-09-01
/etc/zabbix/scripts/1c_work_server.sh: строка 151: /tmp/1c_rphost_pid_hash: Отказано в доступе 6 2021-04-16 2022-09-17
upload fails with uniform access controls 4 2020-01-15 2022-08-21
elFinder really slow to retrieve GCS bucket that has a lot of sub folders 8 2016-03-29 2022-02-27
Is there a reason to explicitly set the visibility if not passed? 7 2019-02-26 2022-02-27
Parameters for an MSI install? 1 2020-11-19 2022-09-02
iCloud calendar with address - error when parsed 4 2020-10-13 2022-09-02
getwd() begins with / on windows which differs from GNU R 0 2022-02-28 2022-09-19
Setup CI/CD with automatic releases to PyPI for `kedro-datasets` and release the first version [Parent] 2 2022-05-04 2022-09-21
Add additional platforms 1 2020-10-17 2021-12-30
GLES2 2D Control Nodes not rendering in VR Viewport 3 2019-12-08 2022-08-11
移动端输入框上显示Error:Network Error 17 2017-10-21 2022-09-24
Fixing failing LTO check 0 2021-01-28 2022-09-16
[BUG]搜索栏推荐和联想关键词element会卡bug在最上层并难以关闭 1 2020-10-22 2022-08-13
Aragonese language not listed in footer of deeds 1 2018-02-21 2022-08-02
CMake for cross platform build and packaging 2 2022-06-04 2022-07-21
f/t inherits ignorecase/smartcase while s doesn't 2 2021-12-07 2022-09-17
OPUS not linking if you pass --enable-opus argument 2 2021-10-11 2022-09-12
pjsip_inv_end_session do not handle PJSIP_INV_STATE_NULL 4 2021-10-17 2022-09-14
How to add an "About" section in a multilingual setup? 1 2020-06-09 2022-09-23
Few vulnerabilities reported in the image 5 2021-05-18 2022-07-27
[BUG] The CPU temperatures are constantly shifted to the right. 3 2021-01-26 2022-08-31
I cant ping google.com when I specify the interface uesimtun0 2 2022-04-22 2022-09-12
combinations(42,21) is not an integer 3 2022-02-09 2022-09-19
Sharing incremental or sped up wall clock 1 2020-10-22 2022-09-19
Is it possible to use local state in component 2 2021-01-28 2022-07-22
About the Evercrypt. AEAD file 10 2022-02-08 2022-09-19
Implement EIP-3607 1 2021-12-27 2022-01-22
Tests fail because of missing server 4 2020-01-02 2022-09-20
Replace html-webpack-inline-source-plugin 0 2021-09-14 2022-09-03
srcset values with multiple paths only relativizes the first 1 2021-10-07 2022-09-14
Blank screen when using react-native-tab-view 4 2022-06-07 2022-09-08
`constraints_mode` setting 0 2022-04-05 2022-09-21
error from WinClosed autocommand prevents buffer from being hidden 13 2022-04-02 2022-08-30
[alert_handler] V2S TODO lists 1 2022-07-11 2022-08-14
dvc[ssh] generate weird error with Poetry env manager. 6 2021-10-28 2022-08-15
에디터 내 사진 붙여넣기 후 에디터 로드 문제 0 2021-08-19 2022-09-25
Nil Pointer Error from `helm list` 6 2021-11-16 2022-09-19
scroll jumps back to selected tree item when expanding/collapsing other tree item 4 2021-10-15 2022-07-14
Tag new release 2 2021-06-10 2022-01-07
Hydraulic "droop" to elevators and ailerons when powered down 6 2021-12-30 2022-08-30
[PDF] Marks are corrupted when zoom changes 2 2021-03-17 2022-07-26
CountedSyncMap has a race condition. 1 2020-10-22 2022-04-01
Cannot find _PQconnectiondb 1 2021-04-25 2022-08-13
UPS Logs not written to shipping.log file 14 2021-03-04 2022-09-19
Inconsistent `Reload` Method Signatures between `DataDropDownGrid` and `PagedDataBoundComponent` 6 2021-09-24 2022-08-28
Match arm comparison between *NEVER* and array{t1: bool, t2: bool} is always false. 0 2022-02-14 2022-07-02
ImportError: DLL load failed while importing _psycopg: 1 2022-07-15 2022-09-19
Release v2.0.2 0 2021-05-04 2021-12-05
Playwright: refactor GutenbergEditorPage into smaller components. 10 2022-02-05 2022-07-21