Enonic Market Enonic Market
React4xp starter icon

React4xp starter

Server side React and JSX

Screenshots

Unleash the full potential of client- and serverside rendered React in your sites!

React4XP builds directly on top of traditional XP controllers, making React look like any other templating engine out there - while expanding the possibilities for single-page sites and client-side driven apps when needed.

Releases

  1. 1.1.0

    • Add boilerplate for easy guillotine requests from both frontend apps or XP controllers
    • Simplify build.gradle by applying react4xp.gradle from the react4xp NPM package
    • Bugfixes
    • Compatibility:
      • 7.3.0
  2. 1.0.1

    • Fixed a bug in initial release 1.0.0
    • Compatibility:
      • 7.3.0
  3. 0.2.10

    • Bugfix: Windows build problem
    • Compatibility:
      • 7.0.0
  4. 0.1.10

    • Bugfix: Windows build problem
    • Compatibility:
      • 6.15.0

Clone React4xp starter

This version requires XP 7.0.0 or above.

Use Enonic CLI to set up your project.

Run the following command:

$

Enonic CLI documentation

This version requires XP 6.15.0

To initialize a new project based on React4xp starter, execute the command below. Remember to replace <com.company.myapp> with a unique name for your app, and </my/projects> with the location you want to store the project. <$XP_INSTALL> is the location of your XP installation.

OSX/Linux

Windows

The init-project tool initializes a new application project structure by retrieving a Git repository, removing all references to the Git repository, and adapting its build file properties (gradle.properties).

Complete init-project documentation