question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

unorm normalize call could be done server-side

See original GitHub issue

I’m not sure that I’ve read the code properly, but it looks to me like we have a call to unorm.nfc to normalize the filename. I think that this code could be moved to the server-side? This would save the 140kb unorm library from being downloaded to the client, which I think would be a big improvement to this library.

Thanks!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
seanadkinsoncommented, Dec 14, 2016

@talbenbasat I’m pretty sure you can replace the filename in one of the pre-processing hooks. See this thread: https://github.com/odysseyscience/react-s3-uploader/pull/79

0reactions
talbenbasatcommented, Dec 17, 2016

Hi @seanadkinson,

Just did! Thanks a lot 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

I would like to normalize my json data on server side for XSS ...
So I have created a function in php called normalizeJson which takes in an associative array as a parameter and converts all <...
Read more >
Call Server side functionality from the Client sid... - ServiceNow
Hi everyone, I had an issue today with getting the user's group ( simple gs.getUser().isMemberOf(' ') ) from Catalog UI Policy. As I....
Read more >
server-side cache for a graphql datasource? #1634 - GitHub
Theoretically it would be just the same logic with the caching strategy on apollo-client: we get some data from a graphql query, normalize...
Read more >
Calling a Server-Side Action - Salesforce Developers
A server-side action can return any object containing serializable JSON data. ... set a callback, which is called after the server-side action is...
Read more >
Class google.script.run (Client-side API) | Apps Script
run is an asynchronous client-side JavaScript API available in HTML-service pages that can call server-side Apps Script functions. To interact ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found