Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TSX Toggle in Docs #432

Open
nicknisi opened this issue May 4, 2018 · 1 comment
Open

TSX Toggle in Docs #432

nicknisi opened this issue May 4, 2018 · 1 comment

Comments

@nicknisi
Copy link
Member

nicknisi commented May 4, 2018

It would be nice to have a HyperScript/TSX toggle on the tutorials to allow readers who prefer one style over the other to view the examples in that format.

@bitranch
Copy link
Member

bitranch commented May 4, 2018

If you commit to adding the toggle, I'd suggest a comment next to the toggle saying that tsx is not the preferred method.

Otherwise, I fear that this will lead down the same sort of path that the dojo 1 declarative syntax went -- where people discover they have to rethink and refactor their code when they find out that declarative isn't actually the fastest or best way to build an app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants