-
Type:
Story
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: 7.4.13 DXP GA1, Master
-
Component/s: Fragments Toolkit
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
- Now existing liferay-fragments:fragment generator asks users if they want to use React, and if the answer is "yes"
- Sets the fragment type to react (as specified in Liferay Portal)
- Creates a sample React code showing the React component if requested
Test Scenarios
Test Scenarios | Test Strategy | Kind of test | Is it covered by FrontEnd ? (JS-Unit) | Is it covered by BackEnd ? (unit or integration) | Could it be covered by POSHI? |
---|---|---|---|---|---|
Create a react fragment via Fragments Toolkit | Critical | Manual | No | Yes | No |
Import a react fragment via Fragments Toolkit | High | Manual | No | No | No |
Compress a react fragment via Fragments Toolkit | High | Manual | No | Yes | No |
Compress a react fragment without description descriptor via Fragments Toolkit | High | Manual | No | Yes | No |
The react fragment with invalid codes shouldn't be imported via Fragments Toolkit | High | Manual | No | No | No |
The build process can be configured by liferay-npm-bundler.config.js | High | Manual | No | Yes | No |
- Is blocking
-
LPS-116693 Add DXP Support for rendering React Fragments
-
- Closed
-
There are no Sub-Tasks for this issue.