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

IReactProperty Question #574

Open
lucassouza1 opened this issue Apr 6, 2023 · 1 comment
Open

IReactProperty Question #574

lucassouza1 opened this issue Apr 6, 2023 · 1 comment

Comments

@lucassouza1
Copy link
Contributor

Why IReactProperty is defined as

type IReactProperty = interface end

instead of

type IReactProperty = (string * obj)

I'm trying to extend Giraffe.ViewEngine to parse React-ish components but that doens't work.

Thanks.

@Zaid-Ajaj
Copy link
Owner

I'm trying to extend Giraffe.ViewEngine to parse React-ish components but that doens't work.

Why isn't it working, can't you just unbox<(string * obj)> someProperty?

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