Thanh Tùng Phạm

Results 12 comments of Thanh Tùng Phạm

Can you provide a sample CodeSandbox? It may help me to find out why the editor autoload does not work?

> Is it possible to develop custom components with React, to use Hooks like useState, useEffect and useContext? I have no idea how to implement custom components for GrapesJS using...

> In theory it works for static components, but for example if we want to develop components that bring you information, for example about a product, or information I have...

The editor component forwards props to editor initialization so you can just pass i18n as an prop.

> How do I export the various CSS and the HTML objects in the editor state into one single HTML file? I don't know if GrapesJS supports this feature or...

> It might be the type declaration bug only. The code should work. If it does not work, please include the runtime error trace. Thank you

I have read the code. In my opinion, there is a better way to fix this warning. The method `componentWillReceiveProps` only re-calculate the value of `this.translateY`. To fix this warning,...

> I think `shouldComponentUpdate` is not supposed to modify state? It's basically a read-only function that should have no side effects. > I think maybe a better way would be...

> @thanhtunguet any updates on this? I have rewritten the package and created a new issue #114 . It works but the stylesheet is broken. I don't have enough time...

> @thanhtunguet any updates on this? See my package here: https://www.npmjs.com/package/thanhtunguet-react-native-actionsheet I fixed styles and all warnings.