Skip to content

Proposal: Remove ts-invariant#66

Open
t3dotgg wants to merge 2 commits into
pubnub:masterfrom
t3dotgg:master
Open

Proposal: Remove ts-invariant#66
t3dotgg wants to merge 2 commits into
pubnub:masterfrom
t3dotgg:master

Conversation

@t3dotgg
Copy link
Copy Markdown

@t3dotgg t3dotgg commented Apr 6, 2021

I don't think this package brings too much value over standard falsy checks + console.errors. Made this quick to open up the discussion

Related issue: #65

Sadly this is breaking our production app at the moment - process.env leaking into the DOM is a hard problem to solve indirectly

@gustavoggs
Copy link
Copy Markdown

+1 on this

@t3dotgg
Copy link
Copy Markdown
Author

t3dotgg commented Apr 6, 2021

Made a patch-package that we're using locally for now. Confirmed that it works as expected :)

https://gist.github.com/TheoBr/68d827bf2f39db59bd9a14026d22929e

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