jaredhanson / jaredhanson/electrolyte

Async creation of components

Open
#9 16 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
555
Forks
60
PR merge metrics
No merged PRs in 30d

Description

Is there any intention to support async creation of components? For example, a connection to db should not be injected into another component until it is actually established (something that can be confirmed only asynchronously).

Ideally, a component could return a promise and creation of dependent components should be conditioned on the fulfillment of that promise.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. Begin by locating component creation and dependency-injection code, then check how asynchronous initialization is currently handled. Done would require an agreed API and tests showing dependent components wait for a fulfilled promise.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.