#8161 Switch from React to Preact - or upgrade to React 16

v1.8.0
closed
licensing (3)
General
nobody
2018-02-05
2017-08-21
No

Facebooks BSD+Patents license, used for React, is not compatible with ASF policies. https://www.apache.org/legal/resolved#category-x

We need to switch, e.g. to https://preactjs.com/ We use React for the admin/edit mode in the project menu, phone verification dialog, and subscribing to individual pages.

Discussion

  • Dave Brondsema

    Dave Brondsema - 2017-09-25
    • summary: Switch from React to Preact --> Switch from React to Preact - or upgrade to React 16
     
  • Dave Brondsema

    Dave Brondsema - 2017-09-27
    • status: open --> review
    • assigned_to: Dave Brondsema
     
  • Dave Brondsema

    Dave Brondsema - 2017-09-27

    The react-drag and react-reorderable projects have had a few updates, but not much. Seems to work fine leaving them as-is.

    Test:

    • run npm run build
    • subscribe icon in action bar
    • Add New & navbar admin mode (drag/drop, settings menu, grouped tools, threshold control, etc)
    • phone verification on new project registration
      • need to be a user with no projects (e.g. "test-user")
      • need project.verify_phone and phone.* settings in .ini
    • in .ini file, change debug = true to false and restart web server, which to confirm using using the minified react file instead of the full debug version works correctly too.
     
  • Kenton Taylor

    Kenton Taylor - 2017-10-02
    • status: review --> closed
     
  • Kenton Taylor

    Kenton Taylor - 2017-10-02

    Merged.

     
  • Dave Brondsema

    Dave Brondsema - 2018-02-05
    • Milestone: unreleased --> v1.8.0
     

Log in to post a comment.