update config and add react snippets