/aem-react-js

AEM templates and components based on reactjs. This npm module provides the basic AEM javascript functionality.

Primary LanguageTypeScriptMIT LicenseMIT

AEM React integration module

This npm module is required by the AEM React Integration project. This library is written in TypeScript.

Build Status codecov npm version

Documentation

The combined documentation for this javascript subproject and the main AEM packages have moved to aem-react.

Trouble shooting`

Error during rendering on server only

Caused by: java.lang.ArrayIndexOutOfBoundsException: 8
        at java.lang.invoke.MethodHandleImpl$ArrayAccessor.getElementL(MethodHandleImpl.java:130)
        at jdk.nashorn.internal.scripts.Script$Recompilation$42327$242230AA$\^eval\_.L:6890$instantiateReactComponent(<eval>:6975)
        at jdk.nashorn.internal.scripts.Script$Recompilation$42422$495489AAA$\^eval\_.L:14349$instantiateChild(<eval>:14379)
        at jdk.nashorn.internal.scripts.Script$Recompilation$42420$464731AAAA$\^eval\_.L:13343$traverseAllChildrenImpl(<eval>:13445)

Does not happen in env==production