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

TypeScript Examples #1599

Merged
merged 14 commits into from Jul 23, 2019
Merged

TypeScript Examples #1599

merged 14 commits into from Jul 23, 2019

Conversation

tajo
Copy link
Member

@tajo tajo commented Jul 23, 2019

All flow (.js) examples now have .tsx counterparts. Visible to users and also integrated with CodeSandbox.

Screen Shot 2019-07-22 at 4 59 18 PM

Copy link
Collaborator

@chasestarr chasestarr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

getting Cannot find module 'styletron-engine-atomic'.ts(2307) errors when running the code sandbox. is that to be expected?

const globby = require('globby');
const path = require('path');

(async () => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙇

@tajo
Copy link
Member Author

tajo commented Jul 23, 2019

getting Cannot find module 'styletron-engine-atomic'.ts(2307) errors when running the code sandbox. is that to be expected?

Not expected. What example is failing?

@chasestarr
Copy link
Collaborator

this link - https://codesandbox.io/s/0swb2?module=/example.tsx (first button example) it took about 15 seconds to display the error

@tajo
Copy link
Member Author

tajo commented Jul 23, 2019

this link - https://codesandbox.io/s/0swb2?module=/example.tsx (first button example) it took about 15 seconds to display the error

Oh right, added missing @types/styletron-foo packages. Good catch.

@tajo tajo merged commit fb23030 into master Jul 23, 2019
@baseui-probot-app-workflow baseui-probot-app-workflow bot deleted the ts-examples branch July 23, 2019 19:44
VladimirMilenko pushed a commit to VladimirMilenko/baseui that referenced this pull request Apr 2, 2020
* feat(examples): add TSX version, WIP

* feat(ts-examples): more fixes

* feat(ts-example): fix the rest of examples

* feat(ts-examples): add it to the lang selection WIP

* feat(ts-examples): deploy TS version to cra-ts instance

* feat(ts-example): comment

* feat(ts-examples): fix flow examples, something got borked

* feat(ts-example): add example validation

* feat(ts-examples): ts for pin code component

* fix(examples): remove all <{}> from JS source

* fix(examples): <any, any> doesn't pass through the flow removal

* fix(examples): fix table react-vis codesandbox examples

* feat(ts-examples): add mising styletron types for codesandbox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants