MetaCell / MetaCell/geppetto-meta
Get component of LayoutManager in a controlled way
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 6
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
Need callback or state update to get layout component when LayoutManager was configured.
LayoutManager is configured in createStore of geppetto.
We need to access the getComponent method of the singleton to add it to a render method.
Current problem is that this instance is null as long as it's not initialized & we don't have a callback or event to know when it is initialized.
See [current workaround ](https://github.com/MetaCell/geppetto-meta/blob/32fe15094fbfb6eb254e7f8dc513de20d29788e5/examples/redux-react-app/src/app/showcase.js#L29)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in createStore of geppetto and inspect how LayoutManager is configured and initialized. Compare this with the workaround in examples/redux-react-app/src/app/showcase.js, especially the render path using getComponent. Done means the render method can access the configured layout component through a defined initialization signal or state update.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100