爱意满满的作品展示区。
triplecheese

我的第一个 React 小项目

  •  1
     
  •   triplecheese · Apr 27, 2019 · 4112 views
    This topic created in 2615 days ago, the information mentioned may be changed or developed.

    网址: https://wwsu97.github.io/fedhub_beta/ (目前只是一些假数据用作展示)
    GitHub: https://github.com/wwsu97/fedhub_beta

    这是一个前端开发相关的优质视频、文章以及书籍聚合类网站,功能简单,响应式设计,支持搜索,没有什么亮点,但自学了这么一段时间,也算是能做出一个相对完整的项目来了,所以发出来给前辈们过过眼。

    更重要的是在开发的过程中,遇到了很多的困惑,虽然能实现出想要的效果,但总觉得有些地方不应该那样写,如果有前辈愿意瞟一眼代码,批评两句提提意见,那是最好不过的了。

    PS: 因为使用的链接都是 YouTube 和 imgur 的,所以不用科学的话,可能会出现加载不出来或是很慢的问题。

    8 replies    2019-04-29 15:18:03 +08:00
    38555027
        1
    38555027  
       Apr 27, 2019
    非常一个有意思的 DEMO
    triplecheese
        2
    triplecheese  
    OP
       Apr 27, 2019
    @38555027 谢谢😆
    joeaaa
        3
    joeaaa  
       Apr 28, 2019
    做的不错 继续加油~
    triplecheese
        4
    triplecheese  
    OP
       Apr 28, 2019
    @joeaaa 嗯嗯,谢谢
    AddOneG
        5
    AddOneG  
       Apr 28, 2019
    一些 三元运算符 a ? b : null 可以换成 a && b
    a1lenyang
        6
    a1lenyang  
       Apr 29, 2019
    请问你后端是怎么写的啊?我也写了几个 html 网页,请问后端什么的需要用到什么技术,怎么发布到网上?新手,不是很懂,请教一下
    triplecheese
        7
    triplecheese  
    OP
       Apr 29, 2019
    @a1lenyang 我没写后端,只是用的一些假数据,关于发布到网上,React 的文档里有介绍如何部署,https://facebook.github.io/create-react-app/docs/deployment,我用的是比较简单的 Github Page,这里有详细步骤 https://github.com/gitname/react-gh-pages,
    triplecheese
        8
    triplecheese  
    OP
       Apr 29, 2019
    @a1lenyang 链接没放好,手动复制一下
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   910 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 20:54 · PVG 04:54 · LAX 13:54 · JFK 16:54
    ♥ Do have faith in what you're doing.