Giter Site home page Giter Site logo

web-challenge's Introduction

【WIP】 web-challenge

本仓库主要是为了锻炼对于框架的理解以及编程能力

第一周 框架

  1. 思考回答如下代码从函数开始执行到页面上渲染 dom 大体上都经过了哪些步骤?(每一步的输入输出都是什么)
const App = () => {
  return <div>Hello World!</div>;
};
  1. 什么是 react 的状态?react为什么需要状态?

tip: babel jsx mount 等

  • 触发更新之后两次之间的状态是如何关联的
  1. 为什么会出现例如 redux、mobx、recoil 等这一类数据管理库?他们分别解决了什么问题?

  2. 尝试分别使用 redux、mobx、recoil 实现 todolist 然后对比差异

第二周 模块化

  1. 什么是编程语言中的模块化?为什么需要模块化?

  2. JavaScript 最初被作为脚本语言发布,模块化是如何一步步走到现在的?

  3. webpack 为什么能一直走到现在? 它有什么优点?它提供什么样的能力?

  4. 尝试在项目中开启 webpack 的绝大部分能力并通过编译

  5. parcel Rollup Esbuild SWC Vite Snowpack Webpack 相关工具的定位什么是?它们之间的关系是什么?

  6. 尝试自己实现一个简易的 webpack (可以参考教程)

  7. 社区中现在会有 Esbuild 和 SWC 串行编译的方案,为什么要这么做?Esbuild 和 SWC 各有哪些优缺点?

web-challenge's People

Contributors

shisifan avatar kibuniverse 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.