3 ms·
Given Drupal's highly-modular architecture, React and a manager like Redux makes the most sense IMO. Building the Drupal module frontend as React Components se
by adrtessier 11y ago
Given Drupal's highly-modular architecture, React and a manager like Redux makes the most sense IMO.
Building the Drupal module frontend as React Components seems like it would be easy to add on as a toggleable layer. You push state into the global Drupal root and mimic the module tree in the state store, and then reduce based upon a dispatch from individual modules somewhere in the document tree.
It's a very clean fit into Drupal's legacy architecture and easy for a Drupal developer to wrap their head around, as it's all one-way.