Skip to content

rm type for default attribute#440

Closed
srsudar wants to merge 1 commit into
preactjs:mainfrom
srsudar:sam-default-type
Closed

rm type for default attribute#440
srsudar wants to merge 1 commit into
preactjs:mainfrom
srsudar:sam-default-type

Conversation

@srsudar

@srsudar srsudar commented Mar 17, 2023

Copy link
Copy Markdown

This is an attempted fix for this issue on the main preact project:

preactjs/preact#3934

New versions of preact include SignalLike<boolean> as a valid type for the default attribute. It was suggested by a preact maintainer that the default value defined here is unnecessary, as it should match what is provided by preact.

@rschristian

Copy link
Copy Markdown
Member

Looks like #433 was another attempt (though it also has issues), and we also talked a bit about it here: preactjs/wmr#955

Sorry, discussion is a bit spread out

@rschristian

Copy link
Copy Markdown
Member

Superseded by #452

@srsudar

srsudar commented Jul 21, 2023

Copy link
Copy Markdown
Author

Thank you!

@rschristian

Copy link
Copy Markdown
Member

Certainly let me know if you still have any issues, but fingers crossed that this is fixed.

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

Successfully merging this pull request may close these issues.

2 participants