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 DomHasCallStack for ghcjs-dom debug feature #217

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

hamishmack
Copy link
Contributor

@ali-abrar
Copy link
Member

Pending performance testing.

@hSloan hSloan added enhancement opinionated Requires judgement from senior developer or developer community follow up Follow up with Merge Requester to take some action labels Jan 23, 2019
@Ericson2314
Copy link
Member

Per https://github.com/ghcjs/ghcjs-dom/blob/master/README.md#adding-domhascallstack-constraint there should be no performance issues when that library doesn't have debugging. So maybe this is good and we just need to change reflex platform to make sure that flag is off in release builds?

@Ericson2314
Copy link
Member

https://github.com/ghcjs/ghcjs-dom/blob/master/ghcjs-dom/ghcjs-dom.cabal#L28 at least currently, it's off by default.

@Ericson2314
Copy link
Member

Ericson2314 commented Dec 12, 2019

There are other things to worry about, though. "Debug levels" are rarely composable, and debugging a library and debugging something using a library is rather different.

It's not clear how this stuff works with reflex, but I trust @hamishmack to have tried it out and gotten value :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement follow up Follow up with Merge Requester to take some action non-breaking change opinionated Requires judgement from senior developer or developer community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants