frintjs / frintjs/frint

Frint Web App crashes during Browser refresh

Open
#443 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
756
Forks
33
PR merge metrics
No merged PRs in 30d

Description

I recently used the Frint multi apps demo to develop a POC, however whenever I load the app on browser I get the following error on the console

```
Uncaught TypeError: i.forEach is not a function
at Object. (index.js:9)
at r (bootstrap:19)
at bootstrap:83
at core.js:1
at universalModuleDefinition:7
at universalModuleDefinition:1
```
The error occurs in the following line:

apps.forEach(app.push);
![Screenshot 2020-09-15 at 01 45 07](https://user-images.githubusercontent.com/16832518/93135195-92e41e80-f6f7-11ea-83a6-218bc8dc747a.png)
![Screenshot 2020-09-15 at 01 45 54](https://user-images.githubusercontent.com/16832518/93135201-95467880-f6f7-11ea-8279-20f9d637e2d5.png)

While the application runs fine despite the error, however when the browser is refreshed then the application fails to load. I also have attached the screenshots.

Contributor guide

Open the contributing guide

Research direction

Start with the Frint multi apps demo in a browser and reproduce the console error during loading and refresh. Inspect the reported apps.forEach(app.push) line and the surrounding bundled index.js behavior; the issue is done when the app refreshes successfully without the TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.