Coder Social home page Coder Social logo

renderToString about om HOT 7 CLOSED

omcljs avatar omcljs commented on July 17, 2024
renderToString

from om.

Comments (7)

pavlo-v-chernykh avatar pavlo-v-chernykh commented on July 17, 2024

👍

from om.

swannodette avatar swannodette commented on July 17, 2024

Yep this will likely land before I cut 0.1.6.

from om.

swannodette avatar swannodette commented on July 17, 2024

Turns out in order for this to work a bug in React must be addressed first - facebook/react#860

from om.

hura avatar hura commented on July 17, 2024

FWIW, still doesn't work with the latest React (4974734)

(.renderComponentToString js/React (dom/p nil))
; <p data-reactid=\".q\" data-react-checksum=\"1813907431\"></p>
(.renderComponentToString js/React (dom/input nil))
; Cannot read property 'firstChild' of undefined

Though, the bug you filed seems to be resolved.

This would be really useful to RDD.

from om.

swannodette avatar swannodette commented on July 17, 2024

@hura I could not confirm this. It works for me using React master.

from om.

swannodette avatar swannodette commented on July 17, 2024

Fixed in master and works with React 0.9-rc1. There are somer remaining edge cases but overall this works.

from om.

CatTail avatar CatTail commented on July 17, 2024

👍

from om.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.