Controls: React text node support
See original GitHub issueCurrently React nodes, such as children
, show a JSON object editor by default. They should show a text editor instead, in the short term. Long term, we should support JSX #11428
Issue Analytics
- State:
- Created 3 years ago
- Reactions:56
- Comments:6 (2 by maintainers)
Top Results From Across the Web
ReactDOM – React
render() controls the contents of the container node you pass in. Any existing DOM elements inside are replaced when first called.
Read more >Refs and the DOM - React
Refs provide a way to access DOM nodes or React elements created in the render method. ... Managing focus, text selection, or media...
Read more >DOM Elements - React
The value attribute is supported by <input> , <select> and <textarea> components. You can use it to set the value of the component....
Read more >Accessibility - React
React fully supports building accessible websites, often by using standard HTML techniques. Standards and Guidelines. WCAG. The Web Content Accessibility ...
Read more >React Top-Level API
Create and return a new React element of the given type. The type argument can be either a tag name string (such as...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Is there any workaround for this one?
UPD:
Because JSX isn’t serializable (by telejson), such values cannot be used as args. As of Storybook 6.2, you can use a
mapping
.