MetaCell / MetaCell/geppetto-meta

Set flex-layout layout on init action

Open
#287 6 comments 0 reactions 2 assignees View on GitHub

Nobody has claimed this yet.

bug geppetto.js high priority
Dominant language
JavaScript
Stars
6
Forks
4
PR merge metrics
No merged PRs in 30d

Description

We pass the baseLayout to the createStore method [here](https://github.com/MetaCell/geppetto-meta/blob/development/examples/redux-react-app/src/redux/store.js#L26) but it doesn't seem to define the layout until we dispatch a widget action.
I propose that we set the layout with the init action

Expected:
layout attribute of redux store to match with provided default layout

Actual Result:
![image](https://user-images.githubusercontent.com/19196034/153042856-6fed5949-68b8-4335-96a5-0bfef5f08bf2.png)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.