react-nojsja
react-nojsja copied to clipboard
Save to dataBase
Hello nojsja, I want to save a specific tree ,to my database , and get it later , please how can I do that
Hello nojsja, I want to save a specific tree ,to my database , and get it later , please how can I do that
Check code here

In onDataChange hook function, get the new tree data when it changed and save it to database. Whenever you want to update tree from your database, just send a ajax request and update data in store/state (check the attribute - data);
okey thanks , is Data a json object ? which would take one column on my database ?