Giter Site home page Giter Site logo

Comments (3)

jamieorc avatar jamieorc commented on May 8, 2024

Bump!

from reagent.

hutch avatar hutch commented on May 8, 2024

I had a quick look...

Here are some issues that I think might be confusing matters:

  • in RawComponent you're missing a ) and ] after the last span.component
  • in RawComponent, you're getting multiple on-click events firing, you should return false from the on-click handler
  • in RawComponentInputs, your handling of the enter key looks suspicious
  • update-raw-components is dropping a level in the map, the :raw-product key is gone
  • it's unclear if you are doing an inplace edit or are trying to edit a copy then updating on a save.

The real problem is how you're starting it all off. You call [RawComponent (:raw-product @app-data)]. I think this dereference of the atom is happening outside of reagent and so it doesn't know about it's use. If you change this to [RawComponent0] and define

(defn RawComponent0 []
  [RawComponent (:raw-product @app-data)])

Changes will start appearing.

from reagent.

mike-thompson-day8 avatar mike-thompson-day8 commented on May 8, 2024

I think this issue can be closed

from reagent.

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.