Lots of people in the Drupal community are eager to learn React these days, following Dries’s announcement that React is coming to Drupal.
This is the long-delayed blog post to follow up to the presentation.
Our approach was fundamentally this:
- we wanted to possibly embed multiple React apps on the site eventually, so we wanted to treat our base React libraries as common across the site.
- we needed to marry React routing and Drupal routing so that we could occupy a whole “namespace” of the site
- we wanted Drupal to store all the entities managed by the front-end, so we had to settle on storage and an API
This post was created with our nice and easy submission form. Create your post!