V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
ericls
V2EX  ›  分享创造

写了一个给 React 用的灵活的格式化和 i18n 工具

  •  1
     
  •   ericls ·
    ericls · 2017-01-18 23:09:34 +08:00 · 3074 次点击
    这是一个创建于 2626 天前的主题,其中的信息可能已经有所发展或是发生改变。
    github: https://github.com/ericls/react-put

    Interactive live demo: https://runkit.com/ericls/runkit-npm-react-put

    主要是觉得 react-intl 写起来比较死板,所以自己造了一个轮子。

    一共才 50 行代码不到。

    把之前几个项目用的东西整理了一下。
    2 条回复    2017-01-19 17:18:55 +08:00
    MrWii
        1
    MrWii  
       2017-01-18 23:39:10 +08:00
    不错,后面有需要可以试试
    lylijincheng
        2
    lylijincheng  
       2017-01-19 17:18:55 +08:00
    mark!
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1042 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 22:38 · PVG 06:38 · LAX 15:38 · JFK 18:38
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.