Prev Wong

Results 28 comments of Prev Wong

Hey folks, just tried it out with React v18. It seems like dnd doesn't work when StrictMode is enabled https://codesandbox.io/s/craftjs-react-18-5gmiqe?file=/src/index.js (when StrictMode is disabled, everything works as usual). I will...

Alright folks, released the fix in 0.2.0-beta.8! Craft should work with React 18 now 🤞

Sorry, but I do not understand this feature request. Will need more examples explaining what you mean

@inveon-osmanakar Could you create a sandbox demonstrating the error? I made a sandbox with your sample code (https://codesandbox.io/s/objective-bell-uvsgc?file=/src/App.js), but I wasn't able to replicate the error 😅

We can already achieve the same results with the `custom` prop already, no? ```tsx const Component = () => {} Component.craft => { custom: {...} } ```

> > We can already achieve the same results with the `custom` prop already, no? > > ```tsx > > const Component = () => {} > > > >...

Currently no, and it will take quite a bit of work to support this unfortunately

Isn't the overwritten `DefaultEventHandlers` that you passed to the `Editor` component used? I just tried it out on the basic example, and it does seem to work. Unless I am...