GithubHelp home page GithubHelp logo

Isomorphic Support about react-rte HOT 7 CLOSED

sstur avatar sstur commented on July 29, 2024
Isomorphic Support

from react-rte.

Comments (7)

sstur avatar sstur commented on July 29, 2024 1

I'm going to close this as I believe this is not possible until draft-js supports it.

from react-rte.

andrewmclagan avatar andrewmclagan commented on July 29, 2024 1

an interim solution

import { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';

class MyComponent {
  render() {
    return (
      <div>
        { canUseDOM && React.createElement(require('react-rte')) }
      </div>
    );
  }
}

from react-rte.

tim-field avatar tim-field commented on July 29, 2024

Just found #37

Hmm strange because I can include draft.js fine.

from react-rte.

ZeroCho avatar ZeroCho commented on July 29, 2024

As I said in #37 I gave up and decided not to render react-rte in server-side.
If you solve this problem, plz let me know.
Actually it is not react-rte problem, but draft-js' or between two

from react-rte.

jonirrings avatar jonirrings commented on July 29, 2024

@ZeroCho I've endeavoured to integrate, but failed too as the draft-js used ua-parser-js. shall we add an issue to the official draft-js repo?

from react-rte.

ZeroCho avatar ZeroCho commented on July 29, 2024

@jonirrings yes, after I search for similar issues in draft-js repo

from react-rte.

artskar avatar artskar commented on July 29, 2024

@andrewmclagan thats is not working. :\

#175

from react-rte.

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.