-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Description
Nature of issue?
- Refactor / Code quality
Details
The <PreviewFrame /> component needs a lot of props, some of which are very specific, which are passed by the <IDEView />. Since the component is also used in the <MobileIDEView /> (and futurely in other components, maybe), it's a good idea to make it into a React Container. This has been done to the <Editor /> component, and it helps dry up the code for the Views.
There are two ways to go about this:
connectit usingmapStateToPropsandmapDispatchToProps- Use the
useSelectoranduseDispatchreact-redux hooks.
catarak
Metadata
Metadata
Assignees
Labels
No labels