Uploaded image for project: 'stripes-connect'
  1. stripes-connect
  2. STCON-1

Peer components with different dataKey should store separate data

    XMLWordPrintable

Details

    Description

      Jason and Jeremy came up with a nice solution to the multiple-instances-of-a-component problem described in STRIPES-320 and exemplified in STRIPES-293. At present, such components share the same data because their key in the Redux store is the same. We propose that if a component has a dataKey prop, then its value is included as part of the Redux-store key, so that in effect it has its own store. This will allow it to maintain its own data.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                mike Mike Taylor
                mike Mike Taylor
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                    Estimated:
                    Original Estimate - 0 minutes
                    0m
                    Remaining:
                    Time Spent - 1 week, 3 hours, 30 minutes Remaining Estimate - 3 hours
                    3h
                    Logged:
                    Time Spent - 1 week, 3 hours, 30 minutes Remaining Estimate - 3 hours
                    1w 3h 30m

                    TestRail: Runs

                      TestRail: Cases