Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React 17 update #250

Merged
merged 11 commits into from
May 27, 2021
Merged

React 17 update #250

merged 11 commits into from
May 27, 2021

Conversation

mcallegari10
Copy link
Contributor

Description

Update React version to v17 and Babel to v7

mcallegari10 and others added 6 commits April 26, 2021 14:52
- Update webpack and webpack-cli to v5
- Update loaders and plugins
- Change css build config and add postcss preset env
- Remove unused dependencies and plugins
@mcallegari10 mcallegari10 added the dependencies Pull requests that update a dependency file label Apr 29, 2021
import { useSelector, useDispatch } from 'react-redux';
import format from 'date-fns/format';

import { scrollToBottom } from '../../../../../../utils/messages';
import { Message, Link, CustomCompMessage, GlobalState } from '../../../../../../store/types';
import { MessageTypes, Link, CustomCompMessage, GlobalState } from '../../../../../../store/types';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
import { MessageTypes, Link, CustomCompMessage, GlobalState } from '../../../../../../store/types';
import { MessageTypes, Link, CustomCompMessage, GlobalState } from 'src/store/types';

@@ -1,9 +1,9 @@
import React, { useEffect, useRef, useState, ElementRef, ImgHTMLAttributes, MouseEvent } from 'react';
import { useEffect, useRef, useState, ElementRef, ImgHTMLAttributes, MouseEvent } from 'react';
import { useSelector, useDispatch } from 'react-redux';
import format from 'date-fns/format';

import { scrollToBottom } from '../../../../../../utils/messages';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
import { scrollToBottom } from '../../../../../../utils/messages';
import { scrollToBottom } from 'src/utils/messages';

@mcallegari10 mcallegari10 merged commit 08e421e into master May 27, 2021
krajcikondra pushed a commit to krajcikondra/react-chat-widget that referenced this pull request Oct 18, 2021
This reverts commit 08e421e, reversing
changes made to 7c1814b.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants