Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-5665

Remove wp-url dependency on the front end

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Released
    • Icon: Should have Should have
    • 2.44.1
    • None

      We can probably avoid this dependency as we only use addQueryArgs on the frontend. The apiFetch usages are already replaced with a regular fetch there.

      I tried out replacing addQueryArgs with a much simpler implementation hereĀ https://github.com/greenpeace/planet4-plugin-gutenberg-blocks/compare/less-libs#diff-ae2ad94f551ebb95bd44436991812dac297cd74561b64f68bc2d38ea05bf73c5R1

            pvincent Pieter Vincent (Inactive)
            pvincent Pieter Vincent (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: