Skip to content

chandlerwall/hn-offline-services

Folders and files

NameName
Last commit message
Last commit date

Latest commit

029870a · Jan 20, 2019

History

9 Commits
Jan 20, 2019
Jan 20, 2019
Jan 19, 2019
Jan 20, 2019
Jan 20, 2019
Jan 20, 2019
Jan 20, 2019
Jan 19, 2019
Jan 20, 2019

Repository files navigation

hn-offline-services

Notes

dom is included as a lib in tsconfig.json due to an issue with the firebase package. The issue is described in more detail at https://stackoverflow.com/questions/51073986/cannot-find-name-serviceworkerregistration-error-when-creating-a-firebase-cl.

Attempts to incorporate webpack have failed. Consider reviewing the commit history to see the various configurations that did not work. Simple functions operated without issue, but functions with Firebase functionality fail. The issue appeared to be caused by async/await functionality, but Promises in general had issues.

At some point in the future, dom should be removed as a library. Additionally, webpack should be included. webpack is important due to its ability to reduce bundle sizes and streamline code generation. The bundle size without webpack is ~16MB for ANY function. With webpack, the hello function drops to ~3KB while hn-api drops to ~350KB.

Future Reference

Do not use console.dir() with AWS. The logs are difficult to decipher (line breaks prevent useful grouping).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published