Web Developer at MDSLab
Web & Mobile Development
No blogs yet.
I am using draftJS as wysiwyg in a dashboard and i use to save the content as HTML, cause i use it for example in a news section of the website. In first time import the related functions from the draft-js package. import { EditorState, convertFromRaw, convertToRaw } from 'draft-js' ; then when you would like to store it on your database just send it to your back end as html string. const rawContentState = convertToRaw( this .state.editorState.getCurrentContent()); const HtmlContent = draftToHtml(rawContentState); Now in HtmlContent you got your html text!
Currently i work with a small team and we develop custom web and mobile application. We start to develop projects for some clients using Laravel and CodeIgniter but i wasn't happy for what they gave me. After a couple of tests on some small-medium private project i've finally decide to move all to NodeJS with Express. In first time you could get some problems to understand the async process but after you got it i think you can improve also your productivity!! It's not a big news the development under NodeJS is more fast and clean... Actually i love to use Express Jade Sequelize or mongo it depends on what we have to do.. For the front-end i've studied Angular 1.x but before we start to release some projects we decide to wait the v2 release but i'm going to be old waiting the stable so looking around i've decide to wait before we move projects from jQuery to Angular or React. We don't really need to move to Angular or React also because for the mobile we develop with native languages (swift\obj-c) for iOS and (Java) Android, so that's why for the moment we are learning Electron instead to any FE framework\library.