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

Add support for bigint. #3009

Closed
MicahZoltu opened this issue Feb 13, 2021 · 0 comments · Fixed by #3010
Closed

Add support for bigint. #3009

MicahZoltu opened this issue Feb 13, 2021 · 0 comments · Fixed by #3010

Comments

@MicahZoltu
Copy link
Contributor

Reproduction

https://codesandbox.io/s/distracted-night-gc995?file=/index.js

Steps to reproduce

import { render } from "preact";
render(<span>{5n}</span>, window.root);

Expected Behavior

It should render 5n as 5 or 5n (I would accept either, though 5 would be better).

Actual Behavior

TypeError
can't assign to property "__" on 5n: not an object

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 a pull request may close this issue.

1 participant