Giter Club home page Giter Club logo

react-mf-films's Introduction

react-microfrontends films

It's a microfrontend for https://github.com/react-microfrontends

image

Tech stack

React 17: Unfortunately, this legacy version is shared with the root application.

TypeScript: TypeScript is a strongly typed programming language that builds on JavaScript, giving you better tooling at any scale.

Tanstack Query: TanStack Query gives you declarative, always-up-to-date auto-managed queries and mutations that directly improve both your developer and user experiences.

TailwindCSS: TailwindCSS is a utility-first CSS framework that provides a set of pre-built classes to style your UI components. It promotes a functional and scalable approach to styling, allowing for rapid development and consistent design across the application.

ESLint with Prettier: ESLint is a static code analysis tool for identifying problematic patterns in JavaScript code. Paired with Prettier, a code formatter, it helps maintain a consistent coding style and catches potential errors or code smells early in the development process.

Husky: husky is a tool that allows you to easily add pre-commit hooks to your Git repository. It ensures that code quality checks, such as linting and formatting, are run automatically before committing changes, helping maintain a clean and consistent codebase.

Testing

Vitest: Vitest is a lightweight and fast test runner for JavaScript and TypeScript applications. It provides a simple and intuitive API for writing and running tests, making it an ideal choice for unit and integration testing in React projects.

React Testing Library: React Testing Library is a testing utility for React applications that encourages writing tests that closely resemble how users interact with the application. It provides utilities for querying and interacting with rendered components, enabling effective UI testing.

msw: Mock Service Worker (msw) is a library for mocking HTTP requests in client-side applications. It allows you to simulate server responses in your tests, making it easier to write isolated and predictable tests for components that make API calls.

Why These Technologies:

Productivity

React, TailwindCSS, and Tanstack Query together offer a highly productive development environment. React's component-based architecture, coupled with TailwindCSS's utility-first approach, speeds up UI development. Tanstack Query simplifies data fetching and management, reducing boilerplate code and improving developer efficiency.

Type Safety

TypeScript provides static typing, which helps catch type-related errors during development. This leads to more robust code and better developer experience, especially in larger codebases.

Code Quality

ESLint with Prettier ensures consistent code formatting and catches common errors or code style violations. Husky automates these checks, ensuring that all code commits meet the project's standards.

Testing

Vitest, React Testing Library, and msw enable comprehensive testing of the application. Vitest's simplicity and speed make it easy to write and run tests. React Testing Library promotes writing tests from a user's perspective, leading to more reliable UI tests. msw facilitates mocking of server responses, allowing for isolated testing of components that interact with external APIs.

By leveraging these technologies, the project aims to deliver a well-structured, maintainable, and thoroughly tested application while maximizing developer productivity and code quality.

react-mf-films's People

Contributors

mdomarus avatar

Watchers

 avatar

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.