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

Invalid YAML #3

Closed
florian42 opened this issue Jan 26, 2023 · 0 comments · Fixed by #4
Closed

Invalid YAML #3

florian42 opened this issue Jan 26, 2023 · 0 comments · Fixed by #4
Labels
bug Something isn't working

Comments

@florian42
Copy link
Owner

The following yaml generated by the extension is invalid:

link: "https://www.arahansen.com/how-children-types-work-in-react-18-and-typescript-4/"
title: "How Children Types Work In React 18 And TypeScript 4"
timestamp: "1/26/2023"
domain: "www.arahansen.com"
excerpt: "One of the coolest features of React is that everything is 'just JavaScript' (or TypeScript!) so the library mostly doesn't care what you provide as children as long as it can be rendered to the UI. We even can have functions as children (aka, render props)!

But I said you can render 'mostly' anything. There are some exceptions and this presents a challenge for defining accurate type definitions for React children.


React type definitions

The React type definitions (@types/react) are maintain"
word_count: "9855"
status: "unread"

URL: https://www.arahansen.com/how-children-types-work-in-react-18-and-typescript-4/

@florian42 florian42 added the bug Something isn't working label Jan 26, 2023
florian42 added a commit that referenced this issue Mar 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant