You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current api requires all the service providers to be loaded when falcon-core is imported. falcon-corecurrently takes about an entire second to load. Each provider requires its own native dependency. For example, the SqliteProvider depends on sqlite3, which is a native dep. Webpack can't work with native deps yet so this really hurts our perf of importing native deps (which includes falcon-core). We should migrate to an api which allows users of falcon-core to import only the providers they need like so:
The current api requires all the service providers to be loaded when
falcon-core
is imported.falcon-core
currently takes about an entire second to load. Each provider requires its own native dependency. For example, theSqliteProvider
depends onsqlite3
, which is a native dep. Webpack can't work with native deps yet so this really hurts our perf of importing native deps (which includesfalcon-core
). We should migrate to an api which allows users offalcon-core
to import only the providers they need like so:The text was updated successfully, but these errors were encountered: