Block or Report
Block or report jericbas
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned Loading
-
Mock `window.location.search`
Mock `window.location.search` 1it('mocks search', () => {
2delete window.location;
3window.location = { search: '?query=phone' };
45expect(window.location.search).toEqual('?query=phone');
-
Add Rematch with existing Redux impl...
Add Rematch with existing Redux implementation 1import React, { PureComponent } from 'react';
2import { connect } from 'react-redux';
3import { bindActionCreators } from 'redux';
45// actions
-
Move element of array of object to ...
Move element of array of object to another position/index 123const data = [
4{id: 1, name: "Sample 1"},
5{id: 2, name: "Sample 2"},
-
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.