Aneesh Rvaradan13.hashnode.devยทJun 3, 2024Setting hx-get dynamically in htmxconst Index = () => { const [inputValue, setInputValue] = useState(""); const url = `/submit?value=${encodeURIComponent(btoa(inputValue))}`; return ( <div className="p-20"> <input value={inputValue} onChange={(e) => { ...ReactAdd a thoughtful commentNo comments yetBe the first to start the conversation.