File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -160,12 +160,18 @@ def vdom(
160
160
if isinstance (child , dict ) and "tagName" not in child :
161
161
warn (
162
162
(
163
- "Element constructor signatures have changed! This will be an "
164
- "error in a future release. A CLI tool for automatically updating "
165
- "code to the latest API has been provided with this release of "
166
- "IDOM (e.g. 'idom update-html-usages'). However, it may not "
167
- "resolve all issues arrising from this change. Start a discussion "
168
- "if you need help transitioning to this new interface: "
163
+ "Element constructor signatures have changed! This will be an error "
164
+ "in a future release. All element constructors now have the "
165
+ "following usage where attributes may be snake_case keyword "
166
+ "arguments: "
167
+ "\n \n "
168
+ ">>> html.div(*children, key=key, **attributes) "
169
+ "\n \n "
170
+ "A CLI tool for automatically updating code to the latest API has "
171
+ "been provided with this release of IDOM (e.g. 'idom "
172
+ "update-html-usages'). However, it may not resolve all issues "
173
+ "arrising from this change. Start a discussion if you need help "
174
+ "transitioning to this new interface: "
169
175
"https://github.com/idom-team/idom/discussions/new?category=question"
170
176
),
171
177
DeprecationWarning ,
You can’t perform that action at this time.
0 commit comments