Skip to content

Make controlled components uncontrolled #2673

Closed
@hallgren

Description

@hallgren

Hi!

This is not a issue in itself more a question I guess.

I found the turbo-react project that instead of binding json to a template sends html directly and use react to diff and update the body tag.

I love the idea of going back to the root of the web and only use javascript for progressive enhancement as it was made to do (I think).

I created a todo app based on the todomvc guides named reactize-todo that use the reactize.js made by @ssorallen.

The things I struggle with is that the controlled components in react makes my have to fiddle alot with creating react Classes and what not, instead of only diff the html in the page with the replacing html. So my question is, can the controlled components be made uncontrolled to make them acts as they do in pure html forms?

Or are there other diffing libraries that do only this?

BR Morgan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions