Skip to content
#

npm-package

npm logo

Npm is a package manager for JavaScript, included with Node.js. As a package manager, npm makes it easy for developers to share and reuse code.

Here are 5,385 public repositories matching this topic...

alvinsay
alvinsay commented Mar 18, 2022

When writing a new post, changing locale will cause an uncaught type error and the editing form of the post content isn't show up.

To Reproduce

  1. Setup Netify CMS with i18n enabled.
  2. Click New button in the index page.
  3. Change writing locale dropdown from Writing in EN to another locale, for example, Writing in FR
  4. The editing form will disappear, and you w
good first issue area: i18n type: bug
sindresorhus
sindresorhus commented Mar 14, 2019

My goal is to have the best documentation for each provided type.

If something is unclear in any of the types, please comment or open a PR to improve it.

Some things you could contribute:

  • Fix typos.
  • Improved description of the type.
  • More examples.
  • Provide more real-world use-cases. This helps the user understand where a type might come in handy.
  • Add links to relevant discu
help wanted good first issue
yjhmelody
yjhmelody commented Mar 12, 2021

I use Array<Uint8Array> as a value. But The uint8Array is treated as string.

function arrayString(val) {
  var result = '{'
  for (var i = 0; i < val.length; i++) {
    if (i > 0) {
      result = result + ','
    }
    if (val[i] === null || typeof val[i] === 'undefined') {
      result = result + 'NULL'
    } else if (Array.isArray(val[i])) {
      result = result + arrayStr
E-Mud
E-Mud commented Feb 5, 2019

Currently, InfiniteScroll adds the scroll listeners only when mounting. That means that if the scroll target (whether it's specified or default to window) changes, the component won't request a new page load if there's some scroll in the new target.

I guess the solution is to check in componentWillReceiveProps if there's some change in target, and if it's the case, remove the current lis

Created by Isaac Z. Schlueter

Released January 12, 2010

Organization
npm
Website
www.npmjs.com
Wikipedia
Wikipedia