developit / developit/unistore

React UMD bundle fails to execute

Open
#46 1 comment 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
JavaScript
Stars
2.8k
Forks
134
PR merge metrics
No merged PRs in 30d

Description

I tried to use the UMD React build from unpkg, but it failed with `Uncaught TypeError: Cannot read property 'Component' of undefined`.
I think it's because it expects to find React on the global object under name `react` but it's actually `React` (with a capital R).
You can reproduce the issue by opening an html file like this in the browser:
```


Title

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.