Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

React is often considered more flexible and simpler compared to Angular. It provides developers with more freedom in terms of architecture choices, state management, and tooling but has a relatively steep learning curve, especially for developers who are new to JavaScript frameworks or functional programming concepts. A comparison of the two JS Framework can be found here.

As of March 2024 there is parity between both RFE and AFE. Here is a table comparing both features:

Feature

AFE

RFE

Framework

Angular

React

Core Concepts

Forms
Pages
Sections
Subforms
Questions
Components

Supported

Supported

Sub-Forms

Not Suppported

Supported

Field Types

text, number, select, date, datetime, checkbox, textarea, radio, toggle, content-switcher, group, repeating, file, and ui-select-extended.

Supported

Supported

toggle, content-switcher, fixed-value

Not Suppported

Supported

Expression Helpers

isEmpty
today
includes
isDateBefore
useFieldValue
calcBMI
calcEDD
calcBSA
calcHeightForAgeZscore
calcBMIForAgeZscore
calcWeightForHeightZscore
arrayContains
arrayContainsAny
calcMonthsOnART
calcAgeBasedOnDate
formatDate
calcGravida
calcTimeDifference

Supported

Supported

OrderType

Supported

Not yet supported

Workspace Launcher

Supported

Not yet supported

Custom/Undocumented Expression Helpers

referenceQuestionAnswers
historicalExpression
HD.getObject
conditionalAnswered
select-concept-answers
shownDateOptions

Supported

Not Supported

I18n

localisable

Not yet supported

Offline

compatible

Not yet supported

Markdown

Not Supported

Supported

...