Code Monkey home page Code Monkey logo

Comments (4)

casesandberg avatar casesandberg commented on June 15, 2024

Hey @e-karma! Thinking through this now. It needs to be something that works with presentational classes as well. This is something I am going to solve quickly because I really do want support with Redux.

Also, why is it that you cant wrap presentational components in a wrapper class? ie:

const Example = () => (

)

export default ReactCSS(Example)

from reactcss.

e-karma avatar e-karma commented on June 15, 2024

Our presentational components are already wrapped with redux container components. I am not sure they work well with reactcss, considering history with decorators support. Even though we can wrap presentational component with reactcss, that's not wrapped with redux container, we still have no place to put the classes() function, because presentational component is function itself.

Decorator Support enables wrapping of the Presentation Component with ReactCSS and still use Redux Container, but the main problem remains, which is how to access classes() that is attached only to a class.

If the presentational component wasn't wrapped, it could work fine, but again, we have no place to put classes() function because component is not a class.

Do you have any ideas?

Thanks again!

from reactcss.

casesandberg avatar casesandberg commented on June 15, 2024

@e-karma Sorry for the delay. Been brainstorming all day and have a simplified API for the 1.0.0 release which has support for react-native, server side rendering and and redux. Coming in the next few days!

from reactcss.

casesandberg avatar casesandberg commented on June 15, 2024

@e-karma [email protected] hit today with support for redux! Check out more about it here: http://reactcss.com/#redux

from reactcss.

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.