JavaScript Framework Initiative update, 2017-11-20
The objective of the JavaScript Framework Initiative is to modernize Drupal core's JavaScript, to make Drupal core backend improvements that enable us to build UIs with JavaScript, and to explore where Drupal can benefit from using a JavaScript framework.
We have weekly meetings on Mondays at 18:30 UTC in #javascript in Drupal Slack. Anyone is welcome to join!
Notes from the November 20 meeting:
-
@drpal's update on the past week's work
- Ongoing work on the React dblog prototype: https://github.com/mattgrill/drupal-react-dblog & https://www.drupal.org/project/react_admin
- Core JS cleanup: https://www.drupal.org/project/drupal/issues/2915784 and https://www.drupal.org/project/drupal/issues/2917234 need review and are blocking subsequent work. Split https://www.drupal.org/project/drupal/issues/2925064 into issues with smaller scope.
- Shared questions to explore with the framework experiment:
https://docs.google.com/document/d/198c5chwgy1ASxvbiAan1VQDBiLjhuEK_OId0...
-
Using https://github.com/mozilla-services/react-jsonschema-form as a way to generate React forms without requiring developers to learn React. Possible replacement for Form API. Is this something that seems viable / a good idea?
- The way they use JSON schema is valuable; not necessarily the implementation.
Related core issue: https://www.drupal.org/node/2913372 - Explore separate react-ui and react-json-schema. tim.plunkett has code locally for the schema piece and will post a patch.
- The way they use JSON schema is valuable; not necessarily the implementation.
- Initiative communication
- https://twitter.com/jsdrupal set up
- Start posting meeting summaries here on https://groups.drupal.org/core
Update relevant core issues regularly
- What's the next UI after dblog?
- https://www.drupal.org/project/drupal/issues/2830584 could be a candidate for exploration once the dblog is done
- Don't take on a new UI yet since there's more work we can do with the dblog (forms, components)
- On rewriting modals: Can you partially opt in to a new UI? https://reactjs.org/docs/portals.html might help
- What are the next steps around the React DBLog prototype + component ui library, json schema forms?
- Take Tim’s work and try to generate form components from Drupal data
- Do we want to actually add a new dblog to core or is it solely for an experiment?
Original Article: