Coder Social home page Coder Social logo

canyener / social-me-die-client Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 2.0 3.5 MB

A social media experiment with .net core, ef core, react and mobx.

License: MIT License

HTML 3.35% CSS 1.36% TypeScript 95.29%
create-react-app create-react-app-typescript mobx mobx-decorators mobx6 observablemap observables quality-gate react react-hooks react-typescript semantic-ui sonarcloud typescript

social-me-die-client's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @canyener
  • ๐Ÿ‘€ Iโ€™m interested in web development and software architecture lately.
  • ๐ŸŒฑ Iโ€™m currently learning microservices architecture, working with NodeJS and .NET.
  • ๐Ÿ“ซ How to reach me [email protected]

๐Ÿ”ฅ Stats :

GitHub Streak

Can Yener's GitHub stats

Top Langs

social-me-die-client's People

Contributors

canyener avatar dependabot-preview[bot] avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

social-me-die-client's Issues

Refactor styling

Styling was never the main goal of this project.
Converting all styles into scss and fixing the issues would be awesome after finishing application,

Timezone issue with native js dates

TL;DR;
Everything works fine on local, but even i set dates to UTC or with a static value, when it runs on Github Actions, tests fail because when it compares the snapshot file, date format changes.

Any help is appreciated.

Refactor test suites

Since I implemented mobx as state management tool to the project, almost all components use mobx store.

That also causes almost all component tests to fail.

After store implementation, store itself should be tested and component tests should be refactored.

Any help is appreciated!

Test handler functions that use useState hook.

 test('useStateTest', () => {
   const setState = jest.fn()
   const useStateMock: any = (initialState: any) => [initialState, setState]
   
  jest.spyOn(React, 'useState').mockImplementation(useStateMock)
  
  //how to trigger useState handler function here?

   const wrapper = mount(<ActivityList activities={fakeActivities} selectActivity={() => { }}/>)
   wrapper.find('Button').first().simulate('click')

   wrapper.update()

   expect(setState).toHaveBeenCalledTimes(1)
 })

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.