react-phoenix icon indicating copy to clipboard operation
react-phoenix copied to clipboard

deps: upgrade phoenix_html and add phoenix_html_helpers

Open meagharty opened this issue 1 year ago • 1 comments

Upgrades to phoenix_html to v4+ which moves HTML helpers to phoenix_html_helpers.

From phoenix_html changelog:

v4.0.0 (2023-12-19)

This version removes deprecated functionality and moved all HTML helpers to a separate library. HTML Helpers are no longer used in new apps from Phoenix v1.7. Older applications who wish to maintain compatibility, add {:phoenix_html_helpers, "~> 1.0"} to your mix.exs and then replace use Phoenix.HTML in your applications by:

import Phoenix.HTML import Phoenix.HTML.Form use PhoenixHTMLHelpers

meagharty avatar Nov 08 '24 17:11 meagharty

@geolessel, do you have thoughts on this?

This patches the issue of the deprecation of Phoenix.HTML.Tag within phoenix_html, mentioned in https://github.com/geolessel/react-phoenix/pull/67, without requiring the addition of phoenix_live_view to this package at this time.

meagharty avatar Nov 13 '24 16:11 meagharty