Skip to content

Interactive code samples should support a non-JSX view #99

Closed
@bvaughn

Description

@bvaughn

On the old website, the interactive code samples on the home page used to have 3 tabs:

  • JSX editor
  • Non-JSX editor
  • Preview

The non-JSX tab showed what the JSX compiled to (eg <div/> => React.createElement('div')). This was a useful view for people who are new to JSX or who just feel more comfortable writing regular JavaScript.

We should add this view back to the code editor.

Please work with @joecritch and @bvaughn if you'd like feedback on UI/UX.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions