     (spacemacs|add-company-hook react-mode))
 
   (defun react/post-init-company-tern ()
-    (add-hook 'react-mode-hook 'tern-mode)
     (push 'company-tern company-backends-react-mode)))
 
 (defun react/pre-init-flycheck ()

  (add-hook 'react-mode-hook 'spacemacs/js2-refactor-require)
  (spacemacs/js2-refactor-set-key-bindings 'react-mode))

(defun react/post-init-web-beautify ()
  (evil-leader/set-key-for-mode 'react-mode  "m=" 'web-beautify-js))


        js-doc
        js2-mode
        js2-refactor
        tern
        web-beautify
        web-mode
        ))
