Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-116692

Add React Fragment generator to Fragments Toolkit

    Details

    • Type: Story
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Fragments Toolkit
    • Labels:
      None

      Description

      The goal of this story is to create a React Fragment generator inside the Fragments Toolkit to encapsulate the most common boilerplate needed for creating React Fragments

      Acceptance Criteria

      • A new liferay-fragments:react-fragment generator that creates the React boilerplate for a fragment
        • Contains the common render import: import render from 'frontend-js-web'
        • Provides boilerplate for the component creation Component = ...
        • Calls the component render render(Component...)
      • When initializing a fragments project, a new script add-react-fragment is added to invoke the new generator

        Attachments

          Activity

            People

            • Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              jose.balsas Chema Balsas
              Recent user:
              Chema Balsas
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package