Questions tagged [code-splitting]

Code-splitting is an alternative to large bundles, which is where JavaScript is split into smaller chunks.

Code-splitting is an alternative to large bundles, which is where JavaScript is split into smaller chunks. This enables sending the minimal code required to provide value upfront, improving page-load times. The rest can be loaded on demand.

469 questions
-2
votes
3 answers

How can I split my code (c#) in Visual Studio while maintaining full functionality?

I realize this sounds like a question the answer to which can be found in the first google link, but to my surprise it wasn't. I'm learning C# recently and for the first time I'm writing a fairly large project, which at the moment contains more than…
diZb
  • 27
  • 6
-2
votes
3 answers

Is it possible to separately compile class code in c++ (like .h and .cpp) while only using one file?

I'm trying to get the benefits of splitting without two files. Split compilation without splitting storage. I understand the benefits of separating .h and .cpp files, but I really dislike having the files be separate, specifically when the classes…
Seph Reed
  • 8,797
  • 11
  • 60
  • 125
-2
votes
3 answers

Javascript String Split |

trying to split: "fundernumber": "Main: 01234567890|Breakdown: 01234567890|Other: 01234567890" } on to three separate lines using a linebreak. HTML - span id="fundno" Javascript - $('#fundno').append(data.fundernumber); var numbers =…
Stubot
  • 37
  • 5
-3
votes
3 answers

C# Code splitting

I am using Visual Studio in C# (.Net 4.5). I have a lot of code behind one button and it gets confusing. Can anyone tell me how I can split that code and put some of it in a separate file and link the file to the main one? I don't wish to create…
Richard L.
  • 5
  • 1
  • 5
1 2 3
31
32